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

In broadcast mode, the instance name is too long and the message cannot be consumed. #417

Closed
heihaozi opened this issue Jan 6, 2022 · 1 comment

Comments

@heihaozi
Copy link
Contributor

heihaozi commented Jan 6, 2022

BUG REPORT

  1. Please describe the issue you observed:

Use broadcast mode to consume, consumers will save offset information locally.

When creating the local offset file, the file path defaults to :

/${user.home}/.rocketmq_offset/${consumer client id}/${consumer group name}/offsets.json

The consumer client id defaults to :

${client IP}@${instance name}@${unit name}

Because the instance name is too long, the offset file creation fails, the message cannot be consumed.

  1. Please tell us about your environment:

rocketmq-spring 2.1.1

  1. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):

I am willing to submit a PR!

@RongtongJin
Copy link
Contributor

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants