summaryrefslogtreecommitdiff
path: root/kafka
diff options
context:
space:
mode:
Diffstat (limited to 'kafka')
-rw-r--r--kafka/client_async.py4
-rw-r--r--kafka/conn.py6
-rw-r--r--kafka/consumer/group.py4
-rw-r--r--kafka/producer/kafka.py4
4 files changed, 9 insertions, 9 deletions
diff --git a/kafka/client_async.py b/kafka/client_async.py
index d9c2714..6c50a8c 100644
--- a/kafka/client_async.py
+++ b/kafka/client_async.py
@@ -152,8 +152,8 @@ class KafkaClient(object):
'receive_buffer_bytes': None,
'send_buffer_bytes': None,
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
- 'sock_chunk_bytes': 4096, # undocumented experimental option
- 'sock_chunk_buffer_count': 1000, # undocumented experimental option
+ 'sock_chunk_bytes': 4096, # undocumented experimental option
+ 'sock_chunk_buffer_count': 1000, # undocumented experimental option
'retry_backoff_ms': 100,
'metadata_max_age_ms': 300000,
'security_protocol': 'PLAINTEXT',
diff --git a/kafka/conn.py b/kafka/conn.py
index 9dfe031..ba166bf 100644
--- a/kafka/conn.py
+++ b/kafka/conn.py
@@ -180,8 +180,8 @@ class BrokerConnection(object):
'receive_buffer_bytes': None,
'send_buffer_bytes': None,
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
- 'sock_chunk_bytes': 4096, # undocumented experimental option
- 'sock_chunk_buffer_count': 1000, # undocumented experimental option
+ 'sock_chunk_bytes': 4096, # undocumented experimental option
+ 'sock_chunk_buffer_count': 1000, # undocumented experimental option
'security_protocol': 'PLAINTEXT',
'ssl_context': None,
'ssl_check_hostname': True,
@@ -784,7 +784,7 @@ class BrokerConnection(object):
self.close(e)
return []
else:
- return [resp for (_, resp) in responses] # drop correlation id
+ return [resp for (_, resp) in responses] # drop correlation id
def requests_timed_out(self):
if self.in_flight_requests:
diff --git a/kafka/consumer/group.py b/kafka/consumer/group.py
index 6e86979..0224d16 100644
--- a/kafka/consumer/group.py
+++ b/kafka/consumer/group.py
@@ -270,8 +270,8 @@ class KafkaConsumer(six.Iterator):
'receive_buffer_bytes': None,
'send_buffer_bytes': None,
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
- 'sock_chunk_bytes': 4096, # undocumented experimental option
- 'sock_chunk_buffer_count': 1000, # undocumented experimental option
+ 'sock_chunk_bytes': 4096, # undocumented experimental option
+ 'sock_chunk_buffer_count': 1000, # undocumented experimental option
'consumer_timeout_ms': float('inf'),
'skip_double_compressed_messages': False,
'security_protocol': 'PLAINTEXT',
diff --git a/kafka/producer/kafka.py b/kafka/producer/kafka.py
index f2205fa..d24236a 100644
--- a/kafka/producer/kafka.py
+++ b/kafka/producer/kafka.py
@@ -292,8 +292,8 @@ class KafkaProducer(object):
'receive_buffer_bytes': None,
'send_buffer_bytes': None,
'socket_options': [(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)],
- 'sock_chunk_bytes': 4096, # undocumented experimental option
- 'sock_chunk_buffer_count': 1000, # undocumented experimental option
+ 'sock_chunk_bytes': 4096, # undocumented experimental option
+ 'sock_chunk_buffer_count': 1000, # undocumented experimental option
'reconnect_backoff_ms': 50,
'reconnect_backoff_max': 1000,
'max_in_flight_requests_per_connection': 5,