# ConfParam

Arbitrary librdkafka producer options name=value.

This parameter applies to omkafka: write to Apache Kafka.

Name:

  ConfParam

Scope:

  action

Type:

  array[string]

Default:

  action=none

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

Permits specifying Kafka options using `name=value` strings. Parameters are passed directly to librdkafka and support all its producer settings.

## Action usage

    action(type="omkafka" confParam=["compression.codec=snappy"])

## Notes

- Multiple values may be set using array syntax.

## See also

See also omkafka: write to Apache Kafka.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.