Following this guide:https://docs.microsoft.com/nl-nl/azure/azure-functions/functions-bindings-event-hubs#trigger---java-example
I am working on a Java Function, that has to run in Azure. In my IoT-hub I have a route defined, which triggers all device twin changes towards an event hub. From there, my function gets triggered nice and easy, and I can log the content that was indeed changed. So far so good, but..
How can I extract the device id? Right now, I only retrieve the message (content of what has been changed in the device twin) but I have no idea to which device this content change belongs.
Anyone any idea?