EnableIdempotence
Specifies whether the provider ensures that produced messages are delivered in order and without duplicates.
Data Type
bool
Default Value
false
Remarks
When set to true, the driver enables Kafka's idempotent producer mode. Kafka assigns a sequence number to each produced message, allowing the broker to detect and discard duplicates and to preserve message order during retries.
When set to false, the driver does not apply these delivery guarantees, and duplicate messages may be produced if retries occur during network interruptions or broker failures.