We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a69a2bb commit 9128420Copy full SHA for 9128420
lib/logstash/inputs/kafka.rb
@@ -132,7 +132,10 @@ class LogStash::Inputs::Kafka < LogStash::Inputs::Base
132
# partition ownership amongst consumer instances
133
config :partition_assignment_strategy, :validate => :string
134
# ID of the pipeline whose events you want to read from.
135
- config :pipeline_id, :validate => :string, :default => "main"
+ def pipeline_id
136
+ respond_to?(:execution_context) ? execution_context.pipeline_id : "main"
137
+ end
138
+
139
# The size of the TCP receive buffer (SO_RCVBUF) to use when reading data.
140
config :receive_buffer_bytes, :validate => :string
141
# The amount of time to wait before attempting to reconnect to a given host.
0 commit comments