You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eventmesh.apache.org by GitBox <gi...@apache.org> on 2021/11/15 12:00:13 UTC

[GitHub] [incubator-eventmesh] hagsyn opened a new issue #590: [Bug] Consumer subscription topic is invalid

hagsyn opened a new issue #590:
URL: https://github.com/apache/incubator-eventmesh/issues/590


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/eventmesh/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Environment
   
   -OS[windows 10] -EventMesh version[1.2.0] -RocketMQ version:[4.5.1]
   
   ### What happened
   
   When consumers subscribe, the parameters are "url" and "topicList". In fact, only the first topic of topicList takes effect!
   
   ### How to reproduce
   
   1. Directly in the source code test project, when consumers start, give topicList two topics.
   ![image](https://user-images.githubusercontent.com/44764414/141776762-822f73c9-a477-48e1-92d2-2ba228f44daa.png)
   
   2. The properties : eventMesh.connector.plugin.type=rocketmq
   3. The test sends the message of the first topic, you can see that it is successful, and the consumer has consumed it.
   4. Test sending the message of the following topic, you can see that the controller did not request to come in.
   5. Check rocket-console and find that the message is sent to rocketmq.
    
   ![Uploading image.png…]()
   
   
   ### Debug logs
   
   1. When the consumer starts, eventmesh-runtime receives the request, you can see that there are two topics.
   <img width="960" alt="4433a681318391e1f19b2cefe508f8f" src="https://user-images.githubusercontent.com/44764414/141777881-cbc88c85-5928-4c6c-8c30-e13889011a15.png">
   ![022ed3e059ad1386a239fcb41d9a0b0](https://user-images.githubusercontent.com/44764414/141777890-73fab4cc-b9c2-4fcd-9c0b-45fb40f8e6f6.png)
   
   2. Then by locating, you can see that there is only one topic for [eventMeshHTTPServer.localConsumerGroupMapping].
   ![b60b89143fee6d5e6f0b36e9b84b1a4](https://user-images.githubusercontent.com/44764414/141778251-f7ceb86d-750d-4b58-ae39-566463c0770a.png)
   
   3. It is judged that there is a problem with the put logic here and needs to be optimized.
   ![00f3d76267d4bae97f2614a15af3c02](https://user-images.githubusercontent.com/44764414/141778411-f8c69861-3f65-4534-94c1-4664e8dd7e64.png)
   
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 closed issue #590: [Bug] Consumer subscription topic is invalid

Posted by GitBox <gi...@apache.org>.
xwm1992 closed issue #590:
URL: https://github.com/apache/incubator-eventmesh/issues/590


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] github-actions[bot] commented on issue #590: [Bug] Consumer subscription topic is invalid

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #590:
URL: https://github.com/apache/incubator-eventmesh/issues/590#issuecomment-968840201


   Welcome to the Apache EventMesh (incubating) community!!
   We are glad that you are contributing by opening this issue. :D
   
   Please make sure to include all the relevant context.
   We will be here shortly.
   
   If you are interested in contributing to our project, please let us know!
   You can check out our contributing guide on [contributing to EventMesh](https://github.com/apache/incubator-eventmesh/blob/develop/CONTRIBUTING.md).
   
   Want to get closer to the community?
   
   WeChat Group:
   ![wechat_qr](https://github.com/apache/incubator-eventmesh/blob/develop/docs/images/mesh-helper.png?raw=true)
   
   Mailing Lists:
   | Name | Description |Subscribe	|Unsubscribe|Archive
   | ----    | ----    |----    | ----    | ----    |
   |Users	|User support and questions mailing list|	[Subscribe](mailto:users-subscribe@eventmesh.incubator.apache.org)	|[Unsubscribe](mailto:users-unsubscribe@eventmesh.incubator.apache.org)	|[Mail Archives](https://lists.apache.org/list.html?users@eventmesh.apache.org)|
   |Development	|Development related discussions|	[Subscribe](mailto:dev-subscribe@eventmesh.incubator.apache.org)	|[Unsubscribe](mailto:dev-unsubscribe@eventmesh.incubator.apache.org)	|[Mail Archives](https://lists.apache.org/list.html?dev@eventmesh.apache.org)|
   |Commits	|All commits to repositories|	[Subscribe](mailto:commits-subscribe@eventmesh.incubator.apache.org)	|[Unsubscribe](mailto:commits-unsubscribe@eventmesh.incubator.apache.org)	|[Mail Archives](https://lists.apache.org/list.html?commits@eventmesh.apache.org)|


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 closed issue #590: [Bug] Consumer subscription topic is invalid

Posted by GitBox <gi...@apache.org>.
xwm1992 closed issue #590:
URL: https://github.com/apache/incubator-eventmesh/issues/590


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org


[GitHub] [incubator-eventmesh] xwm1992 commented on issue #590: [Bug] Consumer subscription topic is invalid

Posted by GitBox <gi...@apache.org>.
xwm1992 commented on issue #590:
URL: https://github.com/apache/incubator-eventmesh/issues/590#issuecomment-973853495


   I reopen this issue for this change cause the `ConcurrentModificationException` during http sub with multi topics(>2) @hagsyn , you can submit the new pr for fix this and relate this issue, thks. 
   ![image](https://user-images.githubusercontent.com/13237619/142588589-d551d54c-ffe3-4599-b811-a4472ff20a72.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: dev-help@eventmesh.apache.org