gpt4 book ai didi

azure-eventhub - 在 Azure Eventhub 接收器中给出 "Encountered error while fetching the list of EventHub PartitionIds"错误

转载 作者:行者123 更新时间:2023-12-02 09:25:00 26 4
gpt4 key购买 nike

我正尝试按照教程实现接收器部分

https://azure.microsoft.com/en-us/documentation/articles/event-hubs-java-ephjava-getstarted/

Failure while registering: com.microsoft.azure.eventprocessorhost.EPHConfigurationException:

获取 EventHub PartitionId 列表时遇到错误

我的 eventhub 中有 16 个分区。但是当我发送数据时我没有指定任何分区。我如何知道我的数据发送到哪个分区?我是否因为所有分区而收到上述错误?

最佳答案

确保您的消费者 sas 策略确实包括“管理”而不仅仅是“收听”。我想它必须具有管理权限才能列出分区。

关于azure-eventhub - 在 Azure Eventhub 接收器中给出 "Encountered error while fetching the list of EventHub PartitionIds"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38505786/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com