conduktor.io ↗

producer.type — Kafka Producer Configuration

This parameter specifies whether the messages are sent asynchronously in a background thread. Valid values are (1) async for asynchronous send and (2) sync for synchronous send.

Description

This parameter specifies whether the messages are sent asynchronously in a background thread. Valid values are (1) async for asynchronous send and (2) sync for synchronous send. By setting the producer to async we allow batching together of requests (which is great for throughput) but open the possibility of a failure of the client machine dropping unsent data.

Default Values by Kafka Version

Kafka VersionDefault Value
0.7sync
0.8.0sync
0.8.1sync
0.8.2sync
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.