0
  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

2
  • can you please elaborate more about item 3 "if event retention period over and if we want to send same event again"? Jan 12, 2021 at 2:40
  • 1. Determine how expired events can be replayed (if needed) 2. How to handle version 3. What happens if event hub is down
    – cshah
    Jan 14, 2021 at 14:39

1 Answer 1

1
  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.

1
  • Hello, Team. Thanks for suggestions 1. Any one have same code for exception handling in producer end 2. Is their any dead letter queue to add message after certain period to re send again. 3. When we capture events in blob container its storing .avro format can we change fomat to json while capture?
    – cshah
    Jan 13, 2021 at 3:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.