Open Pil0tXia opened 1 year ago
I can't reproduce it since the meshMQAdmin plugin for rabbitmq is still in progress.
23:05:29.431 [main] ERROR org.apache.eventmesh.runtime.core.plugin.MQAdminWrapper - can't load the meshMQAdmin plugin, please check.
23:05:29.434 [main] ERROR org.apache.eventmesh.runtime.boot.EventMeshStartup - EventMesh start fail.
java.lang.RuntimeException: doesn't load the meshMQAdmin plugin, please check.
at org.apache.eventmesh.runtime.core.plugin.MQAdminWrapper.<init>(MQAdminWrapper.java:41) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.admin.handler.TopicHandler.<init>(TopicHandler.java:77) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.admin.controller.ClientManageController.initClientHandler(ClientManageController.java:152) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.admin.controller.ClientManageController.start(ClientManageController.java:117) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.boot.EventMeshServer.start(EventMeshServer.java:169) ~[eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.runtime.boot.EventMeshStartup.main(EventMeshStartup.java:40) [eventmesh-runtime-1.9.0-release.jar:1.9.0-release]
at org.apache.eventmesh.starter.StartUp.main(StartUp.java:25) [main/:?]
> Task :eventmesh-starter:StartUp.main() FAILED
Maybe you can provide a valid branch for this scenario or the eventmesh-conncetor-rabbitmq may do some help. https://github.com/apache/eventmesh/pull/4393
BTW I think it will be more clear if you can provide the detail log in org.apache.eventmesh.storage.rabbitmq.consumer.RabbitmqConsumer
.
@fabian4 Thank you for your attention. You may merge PR https://github.com/apache/eventmesh/pull/4395 to resolve the startup failure you mentioned and proceed to reach the bug of this PR.
BTW, there is no message production/consumption relationship between the connector module and the storage-plugin module.
You may merge PR https://github.com/apache/eventmesh/pull/4395 to resolve the startup failure you mentioned and proceed to reach the bug of this PR.
Do you mean that the current master code will not encounter this bug? If that's the case, I suggest you wait until PR 4395 is merged before opening the issue. Otherwise, it will be confusing.
BTW, there is no message production/consumption relationship between the connector module and the storage-plugin module.
Community is moving the storage module to the connector module. The storage module may be removed in the future.
After checkout https://github.com/Pil0tXia/eventmesh/tree/pil0txia_feat_4390 in https://github.com/apache/eventmesh/pull/4395
Eventmesh-storage-rabbitmq
still works when producing and consuming messages.
my env: https://github.com/fabian4/eventmesh/tree/pil0txia_feat_4390
Was it fixed by your modifications here? @fabian4
https://github.com/apache/eventmesh/commit/3f1783f6abc58722e14f85d673e3f5c42ca4fa4d
I think the problem is in producer. We should bind the channel with routeKey and exchangeName when we init the producer connection otherwise there is no message in the queue to consume. (But we actually do bind it when we init the consumer connection. @Pil0tXia
Was it fixed by your modifications here? @fabian4 https://github.com/apache/eventmesh/commit/3f1783f6abc58722e14f85d673e3f5c42ca4fa4d
@pandaapo This is to roll back the change I have made when I do some local test. It's irrelevant.
It has been 90 days since the last activity on this issue. Apache EventMesh values the voices of the community. Please don't hesitate to share your latest insights on this matter at any time, as the community is more than willing to engage in discussions regarding the development and optimization directions of this feature.
If you feel that your issue has been resolved, please feel free to close it. Should you have any additional information to share, you are welcome to reopen this issue.
Search before asking
Environment
Windows
EventMesh version
master
What happened
When using RabbitMQ as the storage plugin, the
org.apache.eventmesh.tcp.demo.pub.cloudevents.AsyncPublish
can place messages into the queue. However, theorg.apache.eventmesh.tcp.demo.sub.cloudevents.AsyncSubscribe
is unable to consume the messages.The RabbitMQ storage plugin was not authored by xwm1992.
How to reproduce
Debug logs
org.apache.eventmesh.tcp.demo.pub.cloudevents.AsyncPublish:
org.apache.eventmesh.tcp.demo.sub.cloudevents.AsyncSubscribe:
Are you willing to submit PR?
Code of Conduct