Eventhub streaming data

Mujtaba Faizan 20 Reputation points
2023-11-23T20:59:28.81+00:00

Hello,

I have a few questions related to Eventhub.

  • Does Eventhub continue to send data if the consumer throws error?
  • If yes, then for how long does it continue to send data?
  • If the consumer didn't update the checkpoint "eventArgs.UpdateCheckpointAsync()", will Eventhub continue to send data as the Checkpoint is not updated?
  • If one Consumer updates the checkpoint "eventArgs.UpdateCheckpointAsync()", will other consumers still receive data?
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
637 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 89,386 Reputation points Microsoft Employee
    2023-11-27T06:52:30.7466667+00:00

    @Mujtaba Faizan - Thanks for the question and using MS Q&A platform.

    Regarding your first question, if the consumer throws an error, Event Hubs will continue to send data to the consumer. However, the consumer will not be able to receive any new data until the error is resolved.

    As for your second question, Event Hubs will continue to send data until the retention period for the event hub is reached. The retention period is the amount of time that Event Hubs will keep the data before it is automatically deleted. The default retention period is one day, but it can be configured to be up to seven days.

    Regarding your third question, if the consumer does not update the checkpoint, Event Hubs will continue to send data from the last checkpointed position. This means that the consumer will receive duplicate data that it has already processed before. It is important to note that checkpointing is a per-partition operation, so each partition will have its own checkpoint.

    Finally, if one consumer updates the checkpoint, it will not affect the other consumers. Each consumer maintains its own checkpoint for each partition it is processing. This means that each consumer can process data independently and at its own pace.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.