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
Copy file name to clipboardExpand all lines: lib/fluent/plugin/out_rdkafka2.rb
+34-2Lines changed: 34 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,8 @@ class Fluent::Rdkafka2Output < Output
65
65
config_param:topic_key,:string,:default=>'topic',:desc=>"Field for kafka topic"
66
66
config_param:default_topic,:string,:default=>nil,
67
67
:desc=>"Default output topic when record doesn't have topic field"
68
+
config_param:use_default_for_unknown_topic,:bool,:default=>false,:desc=>"If true, default_topic is used when topic not found"
69
+
config_param:use_default_for_unknown_partition_error,:bool,:default=>false,:desc=>"If true, default_topic is used when received unknown_partition error"
68
70
config_param:message_key_key,:string,:default=>'message_key',:desc=>"Field for kafka message key"
log.warn"Use '#{@topic_key}' field of event record for topic but no fallback. Recommend to set default_topic or set 'tag' in buffer chunk keys like <buffer #{@topic_key},tag>"
0 commit comments