# Partitions.number

Number of partitions to load-balance across.

This parameter applies to omkafka: write to Apache Kafka.

Name:

  Partitions.number

Scope:

  action

Type:

  integer

Default:

  action=none

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

If set, specifies how many partitions exist and activates load-balancing among them. The number must match the topic’s partition count.

## Action usage

    action(type="omkafka" Partitions.number="3")

## 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.