ngx_kafka_module icon indicating copy to clipboard operation
ngx_kafka_module copied to clipboard

Options to Set Kafka Producer Configs

Open dhuadaar opened this issue 7 years ago • 1 comments

Is there any support to tweak the producer configurations. Kafka Producers has many tweakable parameters like compression, max_retries, retry_backoff_ms, required_acks, ack_timeout_ms, max_queued_messages, min_queued_messages, linger_ms block_on_queue_full, max_request_size, sync, delivery_reports

dhuadaar avatar Apr 17 '17 09:04 dhuadaar

This module is depends on librdkafka, and those parameters can be set by librdkafka api when initializing kafka producer. So, the solution is to pass those parameters via nginx config file(eg: nginx.conf), and to invoke api of librdkafka with those arguments.

To support those options is with great significant, however, unfortunately, I'm really busy in works those times so... these development jobs would be delayed in some times... Oh, would you like to contribute a pull request for this feature and I am really really appreciated that. :)

brg-liuwei avatar Apr 17 '17 13:04 brg-liuwei