Skip to content

Commit

Permalink
[Chore] Fix a bug that when join_group is running, a new subscribed t…
Browse files Browse the repository at this point in the history
…opic will be ignored
  • Loading branch information
lmduc committed Mar 29, 2020
1 parent 7cf1872 commit bb12e11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/kafka/consumer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ def make_final_offsets_commit!(attempts = 3)
end

def join_group
@join_group_for_new_topics = false
old_generation_id = @group.generation_id

@group.join
Expand Down

0 comments on commit bb12e11

Please sign in to comment.