style: fix camelCase variable names once more
This commit is contained in:
committed by
David Arthur
parent
8b05e6240b
commit
3a56dfd624
@@ -53,12 +53,12 @@ class KafkaConnection(local):
|
|||||||
raise Exception("Got no response from Kafka")
|
raise Exception("Got no response from Kafka")
|
||||||
(size,) = struct.unpack('>i', resp)
|
(size,) = struct.unpack('>i', resp)
|
||||||
|
|
||||||
messageSize = size - 4
|
messagesize = size - 4
|
||||||
log.debug("About to read %d bytes from Kafka", messageSize)
|
log.debug("About to read %d bytes from Kafka", messagesize)
|
||||||
|
|
||||||
# Read the remainder of the response
|
# Read the remainder of the response
|
||||||
total = 0
|
total = 0
|
||||||
while total < messageSize:
|
while total < messagesize:
|
||||||
resp = self._sock.recv(self.bufsize)
|
resp = self._sock.recv(self.bufsize)
|
||||||
log.debug("Read %d bytes from Kafka", len(resp))
|
log.debug("Read %d bytes from Kafka", len(resp))
|
||||||
if resp == "":
|
if resp == "":
|
||||||
|
|||||||
Reference in New Issue
Block a user