question

AkshayJoy-6823 avatar image
1 Vote"
AkshayJoy-6823 asked MartinJaffer-MSFT commented

Azure Event Hub Duplicate Message

Steps:

  1. Created Azure Event HUB Namespace + Event Hub with 4 partitions

  2. Also Created Azure Storage Account with Container for CheckPointing

  3. Created SenterApp to send messages to Azure Event Hub, to check the consistency, I also added the message into my Local DB to check if there is any Duplicates

  4. Created RecieverAPP with EventProcessor using Register all events with it and used Storage Account for the Checkpointing part

Testing Execution Steps

  1. Started Reciever App to consume all messages to wipe it clean

  2. Started Client App to push messages + writing to DB after the push

  3. Stopped Reciever App after some time say 2-3 minutes

  4. After some time resumed receiver App, so now it will sync up all the messages from the HUB to my resiver App through the event registered.


Which means SenterApp=> 100 messages
RecieverApp => 102 messages



I am sharing the code samples I have used to do demonstrate this issue.

9102-azure-support-reciverappcode.png

9103-azure-support-senterappcode.png


azure-event-hubs
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Uploaded Code sample here

https://workupload.com/file/BdgHCZJ66SG password : kneelbeforekalel

0 Votes 0 ·

Hello @AkshayJoy-6823 . Are you still facing the issue? I am trying to reproduce , but the link seems to have expired, and I can only view your sender code, not receiver code.

0 Votes 0 ·

Since we have still not heard back from you, we will assume you found your own resolution. If you found a solution, would you please share it here with the community?

Thanks

0 Votes 0 ·

0 Answers