Skip to content

Commit ec286c9

Browse files
authored
Fix offset fetch when partitions are manually assigned (dpkp#786)
1 parent 41bed56 commit ec286c9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kafka/consumer/subscription_state.py

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def assign_from_user(self, partitions):
199199
del self.assignment[tp]
200200

201201
self.needs_partition_assignment = False
202+
self.needs_fetch_committed_offsets = True
202203

203204
def assign_from_subscribed(self, assignments):
204205
"""Update the assignment to the specified partitions

0 commit comments

Comments
 (0)