conduktor.io ↗

transactional.id — Kafka Producer Configuration

The TransactionalId to use for transactional delivery. This enables reliability semantics which span multiple producer sessions since it allows the client to guarantee that transactions using the same TransactionalId have been completed prior to starting any new transactions

Description

The TransactionalId to use for transactional delivery. This enables reliability semantics which span multiple producer sessions since it allows the client to guarantee that transactions using the same TransactionalId have been completed prior to starting any new transactions. If no TransactionalId is provided, then the producer is limited to idempotent delivery. If a TransactionalId is configured, enable.idempotence is implied. By default the TransactionId is not configured, which means transactions cannot be used. Note that, by default, transactions require a cluster of at least three brokers which is the recommended setting for production; for development you can change this, by adjusting broker setting transaction.state.log.replication.factor.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Producer0.11.0null
Producer1.0null
Producer1.1null
Producer2.0null
Producer2.1null
Producer2.2null
Producer2.3null
Producer2.4null
Producer2.5null
Producer2.6null
Producer2.7null
Producer2.8null
Producer3.0null
Producer3.1null
Producer3.2null
Producer3.3null
Producer3.4null
Producer3.5null
Producer3.6null
Producer3.7null
Producer3.8null
Producer3.9null
Producer4.0null
Producer4.1null
Producer4.2null
Producer4.3null
Producer4.4null

Tuning Recommendation

Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.

ProfileProposalRationale and tradeoff
producer / durability<stable-logical-producer-id>Identifies a transactional producer across sessions. Transactions can atomically commit Kafka records and consumed offsets when the application uses the transactional API.

Tradeoff: An ID must be stable for its logical producer and unique among concurrent producers. Setting the property alone does not implement transactions or cover external side effects.

Manual decision; not an executable preset.

Reference · 2026-10-27

Related Configs

enable.idempotence · acks · transaction.timeout.ms

Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.