File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class KafkaClient(object):
78
78
resulting in a random range between 20% below and 20% above
79
79
the computed value. Default: 1000.
80
80
request_timeout_ms (int): Client request timeout in milliseconds.
81
- Default: 40000 .
81
+ Default: 30000 .
82
82
retry_backoff_ms (int): Milliseconds to backoff when retrying on
83
83
errors. Default: 100.
84
84
max_in_flight_requests_per_connection (int): Requests are pipelined
@@ -145,7 +145,7 @@ class KafkaClient(object):
145
145
DEFAULT_CONFIG = {
146
146
'bootstrap_servers' : 'localhost' ,
147
147
'client_id' : 'kafka-python-' + __version__ ,
148
- 'request_timeout_ms' : 40000 ,
148
+ 'request_timeout_ms' : 30000 ,
149
149
'connections_max_idle_ms' : 9 * 60 * 1000 ,
150
150
'reconnect_backoff_ms' : 50 ,
151
151
'reconnect_backoff_max_ms' : 1000 ,
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ class BrokerConnection(object):
116
116
resulting in a random range between 20% below and 20% above
117
117
the computed value. Default: 1000.
118
118
request_timeout_ms (int): Client request timeout in milliseconds.
119
- Default: 40000 .
119
+ Default: 30000 .
120
120
max_in_flight_requests_per_connection (int): Requests are pipelined
121
121
to kafka brokers up to this number of maximum requests per
122
122
broker connection. Default: 5.
@@ -181,7 +181,7 @@ class BrokerConnection(object):
181
181
DEFAULT_CONFIG = {
182
182
'client_id' : 'kafka-python-' + __version__ ,
183
183
'node_id' : 0 ,
184
- 'request_timeout_ms' : 40000 ,
184
+ 'request_timeout_ms' : 30000 ,
185
185
'reconnect_backoff_ms' : 50 ,
186
186
'reconnect_backoff_max_ms' : 1000 ,
187
187
'max_in_flight_requests_per_connection' : 5 ,
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ class KafkaConsumer(six.Iterator):
84
84
happens, the consumer can get stuck trying to fetch a large
85
85
message on a certain partition. Default: 1048576.
86
86
request_timeout_ms (int): Client request timeout in milliseconds.
87
- Default: 40000 .
87
+ Default: 305000 .
88
88
retry_backoff_ms (int): Milliseconds to backoff when retrying on
89
89
errors. Default: 100.
90
90
reconnect_backoff_ms (int): The amount of time in milliseconds to
You can’t perform that action at this time.
0 commit comments