Skip to content

Commit 6877646

Browse files
committed
Comment indent
1 parent 4116026 commit 6877646

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

kafka/client_async.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ class KafkaClient(object):
152152
'receive_buffer_bytes': None,
153153
'send_buffer_bytes': None,
154154
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
155-
'sock_chunk_bytes': 4096, # undocumented experimental option
156-
'sock_chunk_buffer_count': 1000, # undocumented experimental option
155+
'sock_chunk_bytes': 4096, # undocumented experimental option
156+
'sock_chunk_buffer_count': 1000, # undocumented experimental option
157157
'retry_backoff_ms': 100,
158158
'metadata_max_age_ms': 300000,
159159
'security_protocol': 'PLAINTEXT',

kafka/conn.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ class BrokerConnection(object):
180180
'receive_buffer_bytes': None,
181181
'send_buffer_bytes': None,
182182
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
183-
'sock_chunk_bytes': 4096, # undocumented experimental option
184-
'sock_chunk_buffer_count': 1000, # undocumented experimental option
183+
'sock_chunk_bytes': 4096, # undocumented experimental option
184+
'sock_chunk_buffer_count': 1000, # undocumented experimental option
185185
'security_protocol': 'PLAINTEXT',
186186
'ssl_context': None,
187187
'ssl_check_hostname': True,
@@ -784,7 +784,7 @@ def _recv(self):
784784
self.close(e)
785785
return []
786786
else:
787-
return [resp for (_, resp) in responses] # drop correlation id
787+
return [resp for (_, resp) in responses] # drop correlation id
788788

789789
def requests_timed_out(self):
790790
if self.in_flight_requests:

kafka/consumer/group.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ class KafkaConsumer(six.Iterator):
270270
'receive_buffer_bytes': None,
271271
'send_buffer_bytes': None,
272272
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
273-
'sock_chunk_bytes': 4096, # undocumented experimental option
274-
'sock_chunk_buffer_count': 1000, # undocumented experimental option
273+
'sock_chunk_bytes': 4096, # undocumented experimental option
274+
'sock_chunk_buffer_count': 1000, # undocumented experimental option
275275
'consumer_timeout_ms': float('inf'),
276276
'skip_double_compressed_messages': False,
277277
'security_protocol': 'PLAINTEXT',

kafka/producer/kafka.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ class KafkaProducer(object):
292292
'receive_buffer_bytes': None,
293293
'send_buffer_bytes': None,
294294
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
295-
'sock_chunk_bytes': 4096, # undocumented experimental option
296-
'sock_chunk_buffer_count': 1000, # undocumented experimental option
295+
'sock_chunk_bytes': 4096, # undocumented experimental option
296+
'sock_chunk_buffer_count': 1000, # undocumented experimental option
297297
'reconnect_backoff_ms': 50,
298298
'reconnect_backoff_max': 1000,
299299
'max_in_flight_requests_per_connection': 5,

0 commit comments

Comments
 (0)