@@ -96,6 +96,7 @@ Don't forget to remove (or comment) outputs that you don't want to use!
9696 <templateInfo >false</templateInfo >
9797
9898 <outputs >
99+ <!-- Choose one or more of the following outputs -->
99100 <server >
100101 <name >Local server</name >
101102 <port >8000</port >
@@ -122,6 +123,20 @@ Don't forget to remove (or comment) outputs that you don't want to use!
122123 <timeAlignment >yes</timeAlignment >
123124 <compression >none</compression >
124125 </file >
126+
127+ <kafka >
128+ <name >Send to Kafka</name >
129+ <brokers >127.0.0.1</brokers >
130+ <topic >ipfix</topic >
131+ <blocking >false</blocking >
132+ <partition >unassigned</partition >
133+
134+ <!-- Zero or more additional properties -->
135+ <property >
136+ <key >compression.codec</key >
137+ <value >lz4</value >
138+ </property >
139+ </kafka >
125140 </outputs >
126141 </params >
127142 </output >
@@ -187,8 +202,9 @@ Formatting parameters:
187202
188203----
189204
190- Output types: At least one of the following output must be configured. Multiple server/send/file
191- outputs can be used at the same time if the outputs are not in collision with each other.
205+ Output types: At least one of the following output must be configured. Multiple
206+ server/send/file/kafka outputs can be used at the same time if the outputs are not in collision
207+ with each other.
192208
193209:``server ``:
194210 TCP (push) server provides data on a local port. Converted records are automatically send to
@@ -241,6 +257,35 @@ outputs can be used at the same time if the outputs are not in collision with ea
241257 :``none ``: Compression disabled [default]
242258 :``gzip ``: GZIP compression
243259
260+ :``kafka ``:
261+ Send data to Kafka i.e. Kafka producer.
262+
263+ :``name ``: Identification name of the output. Used only for readability.
264+ :``brokers ``:
265+ Initial list of brokers as a CSV list of broker "host" or "host:port".
266+ :``topic ``:
267+ Kafka topic to produce to.
268+ :``partition ``:
269+ Partition number to produce to. If the value is "unassigned", then the default random
270+ distribution is used. [default: "unassigned"]
271+ :``brokerVersion ``:
272+ Older broker versions (before 0.10.0) provide no way for a client to query for
273+ supported protocol features making it impossible for the client to know what features
274+ it may use. As a workaround a user may set this property to the expected broker
275+ version and the client will automatically adjust its feature set.
276+ [default: <empty>]
277+ :``blocking ``:
278+ Enable blocking on produce. If disabled and a cluster is down or not able
279+ to retrieve records fast enough, some flow records may be dropped. On the other hand,
280+ if enabled, no records are dropped. However, if the cluster is slow or not accessible
281+ at all, the plugin waits (i.e. blocks) until data are send. This can significantly slow
282+ down or block(!) the whole collector and other output plugins [true/false, default: false]
283+ :``property ``:
284+ Additional configuration properties of librdkafka library as key/value pairs.
285+ Multiple <property> parameters, which can improve performance, can be defined.
286+ See the project website for the full list of supported options. Keep on mind that
287+ some options might not be available in all versions of the library.
288+
244289:``print ``:
245290 Write data on standard output.
246291
0 commit comments