cshah
cshah

Reputation: 23

Azure event hub service

  1. How to handle exception in event hub

  2. if event hub it self down

  3. if event retention period over and if we want to send same event again

Any idea or hit how to handle this situations for event hub. Any sample code or settings help needed

Thanks in advance

Upvotes: 0

Views: 82

Answers (1)

Serkant Karaca
Serkant Karaca

Reputation: 2034

  1. Please take a look at this doc for exceptions and how to handle them. In general, client should retry transient exceptions. On the other hand, non-transient exceptions require manual intervention most of the times.

  2. Azure Event Hubs provides a highly available stream processing service. For even higher availability I suggest you you to look at 'zone redundancy' and 'paired namespaces' features.

  3. Unless it is a system requirement there is nothing wrong with sending the same message. Please note that retention period is a consumer side feature, it has no impact for producers.

Upvotes: 1

Related Questions