Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kafka/consumer/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, client, subscriptions, **configs):
be disabled in cases seeking extreme performance. Default: True
isolation_level (str): Configure KIP-98 transactional consumer by
setting to 'read_committed'. This will cause the consumer to
skip records from aborted tranactions. Default: 'read_uncommitted'
skip records from aborted transactions. Default: 'read_uncommitted'
"""
self.config = copy.copy(self.DEFAULT_CONFIG)
for key in self.config:
Expand Down Expand Up @@ -1289,7 +1289,7 @@ def to_send(self):

@property
def to_forget(self):
# Return as list of [(topic, (partiiton, ...)), ...]
# Return as list of [(topic, (partition, ...)), ...]
# so it an be passed directly to encoder
partition_data = collections.defaultdict(list)
for tp in self._to_forget:
Expand Down