azure-eventhub - 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 连接丢失
无法启动事件源服务器
解决方案
推荐阅读
- java - 使用 getter 和 setter 问题将数据传递给回收器适配器
- python - 使用矩阵乘法 python 将 RGB 转换为 YIQ
- kubernetes - 将文件复制到本地/主机目录
- wordpress - 是否可以对用户进行身份验证以自动登录到 wp-admin usgin API auth?
- jenkins - 使用 github 更改触发管道作业
- android - 控制 UI 如果任何改造服务正在运行
- sorting - 检查数字是否按顺序排列
- java - 替换 Lambda 表达式 - Lambda 表达式 -> 应该替换,因为我的 Java 不支持
- c# - 我如何获取服务器名称和实例名称并在 app.config 中使用
- go - websocket 设置协议和来源