Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Routeinfo changed, consumer can't consume messages from a broker? #1071

Closed
zebrafirst opened this issue Jun 26, 2023 · 2 comments · Fixed by #1084
Closed

After Routeinfo changed, consumer can't consume messages from a broker? #1071

zebrafirst opened this issue Jun 26, 2023 · 2 comments · Fixed by #1084
Labels
question Further information is requested

Comments

@zebrafirst
Copy link

The issue tracker is ONLY used for the go client (feature request of RocketMQ need to follow RIP process). Keep in mind, please check whether there is an existing same report before your raise a new one.

Alternately (especially if your communication is not a bug report), you can send mail to our mailing lists. We welcome any friendly suggestions, bug fixes, collaboration, and other improvements.

Please ensure that your bug report is clear and that it is complete. Otherwise, we may be unable to understand it or to reproduce it, either of which would prevent us from fixing the bug. We strongly recommend the report(bug report or feature request) could include some hints as to the following:

BUG REPORT

  1. Please describe the issue you observed:

    • What did you do (The steps to reproduce)?
      Enviroment has three broker-master( named broker-a broker-b broker-c) , a consumer consumes messages from the three broker normally. after i shutdown the broker-b, then start it.

    • What did you expect to see?
      After the broker-b restarted, the consumer recover consume normally.

    • What did you see instead?
      The consumer only consume messages from broker-a and broker-b, can't consume messages from broker-b.

  2. Please tell us about your environment:

    • What is your OS?
      Centos
    • What is your client version?
      v2.1.1
    • What is your RocketMQ version?
      4.3.2
  3. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
    the rocketmq-client-go has logged "the topic route info changed", the route info which want be changed to is correct .
    After read the rocketmq-client-go code, i think maybe the namesrv object has the correct route info, but the consumer object can't update the routeinfo correct.

FEATURE REQUEST

  1. Please describe the feature you are requesting.

  2. Provide any additional detail on your proposed use case for this feature.

  3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

  4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:

@zebrafirst
Copy link
Author

v2.1.1版本 push_consumer.go 742行 tryFindBroker 会导致namesrv对象和pushconsumer对象的路由信息不一样,导致地上述问题。

@francisoliverlee
Copy link
Member

v2.1.1版本 push_consumer.go 742行 tryFindBroker 会导致namesrv对象和pushconsumer对象的路由信息不一样,导致地上述问题。

try the lastest version

@francisoliverlee francisoliverlee added the question Further information is requested label Jul 25, 2023
@francisoliverlee francisoliverlee linked a pull request Aug 3, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants