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

Fix segfault when broker has no OffsetFetch support #4790

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xJakub
Copy link

@xJakub xJakub commented Jul 19, 2024

Fixes #4789

Before the fix (using the consumer from examples/):

$ ./consumer localhost:9092 some_group topic
% Subscribed to 1 topic(s), waiting for rebalance and messages...
Segmentation fault (core dumped)

After the fix:

$ ./consumer localhost:9092 some_group topic
% Subscribed to 1 topic(s), waiting for rebalance and messages...
% Consumer error: Failed to fetch committed offsets for 0 partition(s) in group "some_group": Local: Required feature not supported by broker

@xJakub xJakub requested a review from a team as a code owner July 19, 2024 13:21
Copy link

cla-assistant bot commented Jul 19, 2024

CLA assistant check
All committers have signed the CLA.

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

Successfully merging this pull request may close these issues.

Consumer segfaults if broker doesn't support OffsetFetch
1 participant