File tree 4 files changed +9
-9
lines changed
4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ class KafkaClient(object):
152
152
'receive_buffer_bytes' : None ,
153
153
'send_buffer_bytes' : None ,
154
154
'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
157
157
'retry_backoff_ms' : 100 ,
158
158
'metadata_max_age_ms' : 300000 ,
159
159
'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 ,
@@ -784,7 +784,7 @@ def _recv(self):
784
784
self .close (e )
785
785
return []
786
786
else :
787
- return [resp for (_ , resp ) in responses ] # drop correlation id
787
+ return [resp for (_ , resp ) in responses ] # drop correlation id
788
788
789
789
def requests_timed_out (self ):
790
790
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