# Partitions.useFixed

Send all messages to a specific partition.

This parameter applies to omkafka: write to Apache Kafka.

Name:

  Partitions.useFixed

Scope:

  action

Type:

  integer

Default:

  action=none

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

If set, specifies the partition to which data is produced. All data goes to this partition; no other partition is used.

## Action usage

    action(type="omkafka" Partitions.useFixed="1")

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