diff options
Diffstat (limited to 'kafka/protocol.py')
-rw-r--r-- | kafka/protocol.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kafka/protocol.py b/kafka/protocol.py index fc866ad..94a7f2a 100644 --- a/kafka/protocol.py +++ b/kafka/protocol.py @@ -354,7 +354,6 @@ class KafkaProtocol(object): ====== data: bytes to decode """ - data = data[2:] # TODO remove me when versionId is removed ((correlation_id,), cur) = relative_unpack('>i', data, 0) (client_id, cur) = read_short_string(data, cur) ((num_topics,), cur) = relative_unpack('>i', data, cur) @@ -398,7 +397,6 @@ class KafkaProtocol(object): data: bytes to decode """ - data = data[2:] # TODO remove me when versionId is removed ((correlation_id,), cur) = relative_unpack('>i', data, 0) (client_id, cur) = read_short_string(data, cur) ((num_topics,), cur) = relative_unpack('>i', data, cur) |