Skip to content

Commit daabc9f

Browse files
author
Ashish Walia
committed
Deleting client_id from offset commit and fetch response as per Kafka trunk code
1 parent 5581649 commit daabc9f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kafka/protocol.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ def decode_offset_commit_response(cls, data):
439439
data: bytes to decode
440440
"""
441441
((correlation_id,), cur) = relative_unpack('>i', data, 0)
442-
(client_id, cur) = read_short_string(data, cur)
443442
((num_topics,), cur) = relative_unpack('>i', data, cur)
444443

445444
for i in xrange(num_topics):
@@ -490,7 +489,6 @@ def decode_offset_fetch_response(cls, data):
490489
"""
491490

492491
((correlation_id,), cur) = relative_unpack('>i', data, 0)
493-
(client_id, cur) = read_short_string(data, cur)
494492
((num_topics,), cur) = relative_unpack('>i', data, cur)
495493

496494
for i in range(num_topics):

0 commit comments

Comments
 (0)