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 Version | Default Value |
|---|---|
| 0.7 | sync |
| 0.8.0 | sync |
| 0.8.1 | sync |
| 0.8.2 | sync |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.