What is Section ID, Offset, Hostname in Azure Event Hub Receiver?

I work in a khaz. I have some doubts.

  • What is the topic ID in the Azure event hubs receiver? Is this ID the same as the Key section in the Events node in Azure?

  • What is an offset ?, what is the use of this in an azure event consumer hub?

  • Can a message be used without using a consumer group?

  • Can a single receiver message be used?

  • What is the use of blob in case of event hub? I only want to view the message that I have ever posted.

+3


source to share


1 answer


This article , Event Hubs Overview should answer your questions in detail, but in a nutshell:



  • When you create a new Event Hub in the portal, you specify how many sections you need. The publisher hashes the key of the event section to determine which section the event should be dispatched to. The event hub receiver receives events from these sections.

  • The Event Hub user keeps track of what events he received using an offset in each section. By changing the offset, you can, for example, reread events from a section.

  • You must have at least one consumer group (default is). Each consumer group has its own section view (different offset values), which allows it to read events from sections independently of other consumer groups.

  • Typically, you have one receiver per section to enable scaling. The event hub has 8 to 16 sections.

  • Offset values ​​are customer driven. You can check your last position in each section so you can restart at the last event if the client reboots. The checkpoint engine writes the latest offset values ​​to the memory store.

+3


source







All Articles