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

[Bug] Empty consumer groups can be created but cannot be consumed #9044

Open
3 tasks done
hexueyuan opened this issue Dec 11, 2024 · 2 comments · May be fixed by #9058
Open
3 tasks done

[Bug] Empty consumer groups can be created but cannot be consumed #9044

hexueyuan opened this issue Dec 11, 2024 · 2 comments · May be fixed by #9058

Comments

@hexueyuan
Copy link

Before Creating the Bug Report

  • I found a bug, not just asking a question, which should be created in GitHub Discussions.

  • I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.

  • I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.

Runtime platform environment

CentOS 8

RocketMQ version

4.9.8 and 5.3.1

JDK Version

1.8.0

Describe the Bug

Create blank consumer group with mqadmin:
461561c3be8b46f7516246645a81c1af

Broker subGroup config:
22ca37e527b5826f66e8c8b8c42509c1

Use benchmark tools to consume it but failed:
a7d06d4309fb392b581f86890e6ba048

Steps to Reproduce

In any version, use mqadmin to create empty consume group.

What Did You Expect to See?

Broker should forbidden to create empty consumer group.

What Did You See Instead?

Create empty consumer group success.

Additional Context

No response

@Willhow-Gao
Copy link
Contributor

The UpdateSubGroup operation lacks verification when the consumer group name is empty. Have you submitted the fixed PR now?If not, I will submit a PR to try to fix it.

@hexueyuan
Copy link
Author

The UpdateSubGroup operation lacks verification when the consumer group name is empty. Have you submitted the fixed PR now?If not, I will submit a PR to try to fix it.

Not yet, you can fix this if you can.

Willhow-Gao added a commit to Willhow-Gao/rocketmq that referenced this issue Dec 16, 2024
Willhow-Gao added a commit to Willhow-Gao/rocketmq that referenced this issue Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants