首页 > 解决方案 > argo-events 是否支持 azure-hub 作为事件源?

问题描述

argo-events 是否支持 azure-hub 作为事件源?

我可以在这里看到一个示例代码:

https://github.com/argoproj/argo-events/blob/master/examples/event-sources/azure-events-hub.yaml
enter code here

但这对我不起作用。我尝试使用以下参数:

FQDN:“命名空间”.servicebus.windows.net

sharedAccessKeyName: 共享访问策略 --> "Policy"

sharedAccessKey: "主键"

我还检查了事件源 - 设置页面,此处未提及 azure-hub 说明:

https://argoproj.github.io/argo-events/eventsources/setup/webhook/

我可以使用 azure cli 成功获取连接字符串,如下面的链接所述:

https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-get-connection-string#getting-the-connection-string-with-azure-cli

我的 argo EventSource pod 处于“CrashLoopBackOff”阶段,日志显示如下:

开始处理 Azure 事件中心

检索共享访问密钥名称

正在检索共享访问密钥...

连接到集线器...

收集集线器运行时信息...

无法开始监听事件源

NATS 连接丢失

无法启动事件源服务器

标签: azure-eventhubargo-events

解决方案


推荐阅读