kafka-python icon indicating copy to clipboard operation
kafka-python copied to clipboard

MultiProcessConsumer Cannot Set Options of SimpleConsumer Workers

Open rhema opened this issue 12 years ago • 2 comments

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.

rhema avatar Sep 26 '14 16:09 rhema

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.

mahall avatar Oct 16 '14 22:10 mahall

fixed in #336

dpkp avatar Mar 31 '15 01:03 dpkp