Skip to content

Commit 23f9dae

Browse files
committed
drop explicit assignment encode
1 parent 9ae99af commit 23f9dae

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

kafka/coordinator/base.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -702,10 +702,6 @@ def _on_join_leader(self, response):
702702
group_assignment = self._perform_assignment(response.leader_id,
703703
response.group_protocol,
704704
members)
705-
for member_id, assignment in group_assignment.items():
706-
if not isinstance(assignment, bytes):
707-
group_assignment[member_id] = assignment.encode()
708-
709705
except Exception as e:
710706
return Future().failure(e)
711707

0 commit comments

Comments
 (0)