We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e24dee5 commit feecb27Copy full SHA for feecb27
kafka/consumer/subscription_state.py
@@ -319,7 +319,7 @@ def all_consumed_offsets(self):
319
all_consumed = {}
320
for partition, state in six.iteritems(self.assignment):
321
if state.has_valid_position:
322
- all_consumed[partition] = OffsetAndMetadata(state.position, '')
+ all_consumed[partition] = OffsetAndMetadata(state.position, b'', -1)
323
return all_consumed
324
325
def need_offset_reset(self, partition, offset_reset_strategy=None):
0 commit comments