如何将刀具事件连接到兔子外部来源
我正在尝试将knative与Kubernetes集群外的现有RabbitMQ队列连接起来,但是在测试和查看文档后,我不确定是否可以做到这一点,有人知道如何使用外部RabbitMQ作为消息源使用Knative-eventing ?
问候!
I am trying to connect Knative with an existing RabbitMQ queue outside the Kubernetes cluster, but after testing and looking at the documentation I am not sure this can be done, does anyone know how to use Knative-eventing with an external RabbitMQ as a message source ?
Regards!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如 knative eventing sources目录由社区开发和维护(主要来自VMware和RabbitMQ团队)。
文档和安装说明为
As listed in the Knative Eventing sources catalog, there is a RabbitMQ source being developed and maintained by the community (largely contributors from VMware and the RabbitMQ team).
Documentation and install instructions are here; in the case of bugs, please report them in the associated repo.
嘿,@Juan,您对我们的文档绝对是正确的,在这里,我将在审查和合并时留下PR修复部分,并有一个明确的示例有关使用外部RabbitMQ实例:
Eventing-Rabbitmq/pull/786/Files #
如果发现任何错误,可以对PR发表评论或在此处留下答复!
Hey @Juan you were absolutely right about our docs, here I'll leave a PR fixing part of them while it's being reviewed and merged, and with a clear example about using external RabbitMQ instances:
https://github.com/knative-sandbox/eventing-rabbitmq/pull/786/files#diff-4fdb9e4eb3a1c9da58e4445d94aa5ce4573b5c8d005f20c41c767b07c09a2418
Hope this helps =), and thanks for the feedback!
If you find anything wrong, you can comment on the PR or leave a reply over here!
谢谢@sameer的回答,我认为我没有正确理解您。
访问了您给我的链接后,我启动了:
kubectl apply -filename https://github.com/knative-sandbox/eventing-rabbitmq/releases/latest/latest/labbit/rabbitmq-source.yaml
要安装RABBITMQ源并生成秘密:
kubectl创建秘密通用rabbitmqc-default-user -n knative-eventing-from-literal = user = user = root = root -from-file =/tmp/tmp/tmp/passwork < /code>
和以下资源:
但是生成资源后,我会得到以下错误:
knative-sources/rabbitmq-controller-manager
真相是我已经搜索和搜索过,我还没有找到有关如何将其连接到外部的信息兔子到Kubernetes,也许我不太了解文档。
thank you @sameer for your answer, I think I am not understanding you correctly.
After visiting the link you give me, I have launched:
kubectl apply --filename https://github.com/knative-sandbox/eventing-rabbitmq/releases/latest/download/rabbitmq-source.yaml
To install the rabbitmq source and generated the secret:
kubectl create secret generic rabbitmqc-default-user -n knative-eventing --from-literal=user=root --from-file=password=/tmp/password
And the following resource:
But after generating the resources I get these errors:
knative-sources/rabbitmq-controller-manager
The truth is that I have searched and searched and I have not found information on how to connect it to an external RabbitMQ to Kubernetes, maybe I am not understanding the documentation well.
此错误消息表明XXX.RABBITMQ.com CRD未安装在当前K8S群集中。
│W052411:45:04.109915 1反射器:go:324] k8s.io/<受保护] /tools/cache/reflector.go:167:无法列出 *v1beta1.queue:服务器找不到请求的资源(get queues.rabbitmq.com)│
您需要安装Rabbitqa Messaging-拓扑 - 操作员为了添加
docs :
遵循此命令:
This error message indicates that xxx.rabbitmq.com CRD is not installed in the current k8s cluster.
│ W0524 11:45:04.109915 1 reflector.go:324] k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1beta1.Queue: the server could not find the requested resource (get queues.rabbitmq.com) │
You need to install the RabbitQA messaging-topology-operator in order to add the missing CRDS
as mentioned in the docs:
follow this command :