Commit 10a426d5 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

kafka.py: fix producer setting max.request.size -> message.max.bytes to match librdkafka config

parent d6f309de
Pipeline #278829 passed with stages
in 2 minutes and 43 seconds
......@@ -39,7 +39,7 @@ class Client(object):
'group.id': self.uri.groupid,
}
self._producer_settings = {
'max.request.size': 5242880, # 5 MB
'message.max.bytes': 5242880, # 5 MB
**self._kafka_settings,
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment