ok found the problem , there was a local azure function that was connected to the same event hub so messages were sent to both of the functions.
(eclipse and java azure function have a problem when it is shutdown in eclipse the function still runs in the background)
Azure EventHubTrigger Java function does not always get triggered
Hi,
We have a simple Azure Event Hub which has an Azure function from type @EventHubTrigger .
when new messages are sent to the event hub, the azure function should get triggered and process the data from the event hub.
what actually happens is that if we sent 5 messages one by one we see that the function is triggered only for messages 1-3 (as example).
in the application insight we see 5 messages sent and 3 arrives to the function.
no exceptions in the application insight and no traces for the missing messages.
we use the $Default consumer group (only 1 exists).
tried to see what is actually in the event hub but we see only a sample of the data.
any ideas how to debugs this issue?
thanks,
Liav
-
Liav 121 Reputation points
2020-09-01T11:22:13.653+00:00