How are different events handled in Azure Event Hubs?

隐身守侯 提交于 2019-12-06 04:39:27

Yes. I create one Event Hub for what would be a "topic" in Kafka, that is each Event Hub works as one stream of data. The partitions in Event Hub work like the topic partitions in Kafka in that they are units of consumer parallelism within a topic. Creating multiple event hubs within the same namespace appears to allow them to share throughput units (aka the things that cost money), ie the throughput units are like the size of your Kafka cluster.

Yes.Event hubs functioning is much similar to the Apache Kafka. Basically Event hubs are messaging entities created within event hub namepaces. Each Event hub has the number of partitions specified during the creation of the Event hub. The Event hubs are used for handling large amount of telemetry data.The event consuming applications subscribed to the event hub can receive the events from the partition to which they have access.

Regarding Kafka, the event hubs are similar to Kafka topics and event hub partitions are similar to Kafka topic partitions.Similar to the Apache Kafka, event hub consumer groups can read the events only from the event hub partitions.

Creating Event hubs within same namespace helps you in managing the event hubs involved in your particular line of business application. Event hub namespaces resemble the Kafka cluster

The main advantage of using Event hubs when compared to the Apache Kafka is Event Hubs are more secured when compared to the Kafka because Event hub uses SAS key based authentication similar to Service Bus entities which is not available in Apache Kafka and the event publishers and consumers must use their own authentication mechanism.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!