File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,8 @@ class KafkaClient(object):
154
154
'receive_buffer_bytes' : None ,
155
155
'send_buffer_bytes' : None ,
156
156
'socket_options' : [(socket .IPPROTO_TCP , socket .TCP_NODELAY , 1 )],
157
- 'sock_chunk_bytes' : 4096 , # undocumented experimental option
158
- 'sock_chunk_buffer_count' : 1000 , # undocumented experimental option
157
+ 'sock_chunk_bytes' : 4096 , # undocumented experimental option
158
+ 'sock_chunk_buffer_count' : 1000 , # undocumented experimental option
159
159
'retry_backoff_ms' : 100 ,
160
160
'metadata_max_age_ms' : 300000 ,
161
161
'security_protocol' : 'PLAINTEXT' ,
Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ class BrokerConnection(object):
180
180
'receive_buffer_bytes' : None ,
181
181
'send_buffer_bytes' : None ,
182
182
'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
185
185
'security_protocol' : 'PLAINTEXT' ,
186
186
'ssl_context' : None ,
187
187
'ssl_check_hostname' : True ,
@@ -790,7 +790,7 @@ def _recv(self):
790
790
self .close (e )
791
791
return []
792
792
else :
793
- return [resp for (_ , resp ) in responses ] # drop correlation id
793
+ return [resp for (_ , resp ) in responses ] # drop correlation id
794
794
795
795
def requests_timed_out (self ):
796
796
if self .in_flight_requests :
Original file line number Diff line number Diff line change @@ -270,8 +270,8 @@ class KafkaConsumer(six.Iterator):
270
270
'receive_buffer_bytes' : None ,
271
271
'send_buffer_bytes' : None ,
272
272
'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
275
275
'consumer_timeout_ms' : float ('inf' ),
276
276
'skip_double_compressed_messages' : False ,
277
277
'security_protocol' : 'PLAINTEXT' ,
Original file line number Diff line number Diff line change @@ -292,8 +292,8 @@ class KafkaProducer(object):
292
292
'receive_buffer_bytes' : None ,
293
293
'send_buffer_bytes' : None ,
294
294
'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
297
297
'reconnect_backoff_ms' : 50 ,
298
298
'reconnect_backoff_max' : 1000 ,
299
299
'max_in_flight_requests_per_connection' : 5 ,
You can’t perform that action at this time.
0 commit comments