kafka-python
kafka-python copied to clipboard
MultiProcessConsumer Cannot Set Options of SimpleConsumer Workers
SimpleConsumer can be instantiated with options such as fetch_size_bytes, buffer_size, and max_buffer_size. MultiProcessConsumer uses a pool SimpleConsumer workers, but instantiates them using their default configuration. This is a problem when log messages are large enough to need larger (fetch_size_bytes, buffer_size, and max_buffer_size) than normal.
We are affected by this as well. I'll throw a pull request together that passes named arguments down to the SimpleConsumer and see what they think.
fixed in #336