Skip to content

Commit 3a9191c

Browse files
committed
update README.md
Signed-off-by: kubotat <[email protected]>
1 parent 48e249d commit 3a9191c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ You need to install rdkafka gem.
517517
exclude_topic_key (bool) :default => false
518518
exclude_partition_key (bool) :default => false
519519
discard_kafka_delivery_failed (bool) :default => false (No discard)
520+
discard_kafka_delivery_failed_regex (regexp) :default => nil (No discard)
520521
use_event_time (bool) :default => false
521522

522523
# same with kafka2
@@ -559,6 +560,9 @@ You need to install rdkafka gem.
559560
max_enqueue_bytes_per_second (integer) :default => nil
560561
</match>
561562

563+
`rdkafka2` supports `discard_kafka_delivery_failed_regex` parameter:
564+
- `discard_kafka_delivery_failed_regex` - default: nil - discard the record where the Kafka::DeliveryFailed occurred and the emitted message matches the given regex pattern, such as `/unknown_topic/`.
565+
562566
If you use v0.12, use `rdkafka` instead.
563567

564568
<match kafka.**>

0 commit comments

Comments
 (0)