You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -243,13 +247,12 @@ ruby-kafka's log is routed to fluentd log so you can see ruby-kafka's log in flu
243
247
244
248
Supports following ruby-kafka's producer options.
245
249
246
-
- max_send_retries - default: 1 - Number of times to retry sending of messages to a leader.
250
+
- max_send_retries - default: 2 - Number of times to retry sending of messages to a leader.
247
251
- required_acks - default: -1 - The number of acks required per request. If you need flush performance, set lower value, e.g. 1, 2.
248
252
- ack_timeout - default: nil - How long the producer waits for acks. The unit is seconds.
249
253
- compression_codec - default: nil - The codec the producer uses to compress messages.
250
254
- max_send_limit_bytes - default: nil - Max byte size to send message to avoid MessageSizeTooLarge. For example, if you set 1000000(message.max.bytes in kafka), Message more than 1000000 byes will be dropped.
251
255
- discard_kafka_delivery_failed - default: false - discard the record where [Kafka::DeliveryFailed](http://www.rubydoc.info/gems/ruby-kafka/Kafka/DeliveryFailed) occurred
252
-
- monitoring_list - default: [] - library to be used to monitor. statsd and datadog are supported
253
256
254
257
If you want to know about detail of monitoring, see also https://github.com/zendesk/ruby-kafka#monitoring
255
258
@@ -420,6 +423,16 @@ Support of fluentd v0.12 has ended. `kafka_buffered` will be an alias of `kafka2
420
423
monitoring_list (array) :default => []
421
424
</match>
422
425
426
+
`kafka_buffered` supports the following `ruby-kafka` parameters:
427
+
428
+
- max_send_retries - default: 2 - Number of times to retry sending of messages to a leader.
429
+
- required_acks - default: -1 - The number of acks required per request. If you need flush performance, set lower value, e.g. 1, 2.
430
+
- ack_timeout - default: nil - How long the producer waits for acks. The unit is seconds.
431
+
- compression_codec - default: nil - The codec the producer uses to compress messages.
432
+
- max_send_limit_bytes - default: nil - Max byte size to send message to avoid MessageSizeTooLarge. For example, if you set 1000000(message.max.bytes in kafka), Message more than 1000000 byes will be dropped.
433
+
- discard_kafka_delivery_failed - default: false - discard the record where [Kafka::DeliveryFailed](http://www.rubydoc.info/gems/ruby-kafka/Kafka/DeliveryFailed) occurred
434
+
- monitoring_list - default: [] - library to be used to monitor. statsd and datadog are supported
435
+
423
436
`kafka_buffered` has two additional parameters:
424
437
425
438
- kafka_agg_max_bytes - default: 4096 - Maximum value of total message size to be included in one batch transmission.
0 commit comments