Hi,

I plan to use Apache qpid proton C++ API for receiving messages from Azure
Event hub. I am able to implement a client and fetch the events. The
problem is, whenever I restart my clients it reads all the events from the
event hub.

A quick search revealed that Event hub provides stream offset with the
events sent to the readers which the reader can remember. The reader can
start reading from a new offset which it hasn't read so far.

I did a lot of searching in Qpid proton code and the C++ API, but could not
find a way to get the following:
1. the offset value when a message is received from event hub
2. a way to specify the offset from which to start reading messages, while
opening a receiver

It would be a great help if someone can suggest a solution for this. Please
note that I can only use C or C++ API only.

Thanks in advance!
Arun

Reply via email to