Skip to content

Commit bb12e11

Browse files
committed
[Chore] Fix a bug that when join_group is running, a new subscribed topic will be ignored
1 parent 7cf1872 commit bb12e11

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/kafka/consumer.rb

+1
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,7 @@ def make_final_offsets_commit!(attempts = 3)
472472
end
473473

474474
def join_group
475+
@join_group_for_new_topics = false
475476
old_generation_id = @group.generation_id
476477

477478
@group.join

0 commit comments

Comments
 (0)