Azure Event Hub中的FQDN [英] FQDN in Azure Event Hub
问题描述
Hi,
我有一个卡夫卡生产者代码,我现在正尝试将相同事件发送到事件中心.为此,它要求提供事件中心FQDN.请参阅下面的配置代码片段.
I have a kafka producer code which i'm now trying to send same events to Event hub. For that it asks for Event Hub FQDN. Please see the config snippet below.
bootstrap.servers={YOUR.EVENTHUBS.FQDN}:9093
security.protocol=SASL_SSL
sasl.mechanism=PLAIN
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="{YOUR.EVENTHUBS.CONNECTION.STRING}"
这里的EVENTHUBS FQDN是什么?
what is EVENTHUBS FQDN here?
是sb://< evethubs_namespace_name> .servicebus.windows.net:9093 ??或
有什么不同吗?
我尝试了上述网址,但它没有连接到事件中心.有人可以帮我吗?
谢谢.
Nihar
推荐答案
你好Nihar,
Hello Nihar,
以下应该可以让您起床并奔跑:
Following should get you up and running:
-活动中心和FQDN:创建启用了Apache Kafka的事件中心
-有关配置生产者的示例:
- Event Hubs & FQDN: Key differences between Kafka and Event Hubs
- Create Apache Kafka enabled event hubs
- Example on configuring producer: Send messages with Kafka in Event Hubs
Hope this helps! Let us know if we can help further :)
这篇关于Azure Event Hub中的FQDN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!