简体   繁体   English

微软Azure Event Hub Kafka版

[英]Microsoft Azure Event Hub Kafka version

We are using Microsoft azure Event Hubs endpoints as Kafka cluster.我们使用 Microsoft azure 事件中心端点作为 Kafka 集群。

I want to know which version of Kafka is supported on Azure.我想知道Azure支持哪个版本的Kafka。

Which version of Kafka clients (producer and consumer) should be used to interact with Event Hubs?应使用哪个版本的 Kafka 客户端(生产者和消费者)与事件中心交互?

we are using microsoft azure event hub endpoints as kafka cluster我们使用微软 azure 事件中心端点作为 kafka 集群

Azure EventHub is not Apache Kafka. Azure EventHub不是Apache Kafka。 It merely supports its users to leverage Kafka clients API for interacting with it.它仅支持其用户利用 Kafka 客户端 API 与其进行交互。 Though there are conceptual similarities between the two, EventHub should not be considered as a "Managed Kafka service" like HDInsight.尽管两者在概念上有相似之处,但不应将 EventHub 视为像 HDInsight 那样的“托管 Kafka 服务”。

I want to know which version of kafka is supported on azure?我想知道azure支持哪个版本的kafka?

By Kafka, here kafka-clients should be meant. Kafka,这里应该是kafka-clients的意思。 From the Event Hubs documentation ..事件中心文档..

Event Hubs supports Apache Kafka's producer and consumer APIs clients at version 1.0 and above.事件中心支持 Apache Kafka 的生产者和消费者 API 客户端版本 1.0 及更高版本。

So, you can use Kafka clients 1.0 and above.因此,您可以使用 Kafka 客户端 1.0 及更高版本。 Try using Kafka-clients 2.x.尝试使用 Kafka-clients 2.x。

You can go through the sample code (Java) and other languages in Github here for interacting with EventHub through Kafka clients. go Github 这里的示例代码(Java)其他语言可以通过Kafka客户端与EventHub进行交互。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM