Azure EventHubTrigger Java function does not always get triggered

Liav 121 Reputation points
2020-09-01T10:38:31.57+00:00

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

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,263 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
556 questions
0 comments No comments
{count} votes

Accepted answer
  1. Liav 121 Reputation points
    2020-09-01T11:22:13.653+00:00

    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)

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful