Configuring EOS for source connectors
Learn how to enable and configure exactly-once semantics (EOS) for Kafka Connect source connectors.
EOS is a framework that enables Kafka and Kafka applications to guarantee that each message is delivered precisely once without it being duplicated or lost. EOS is supported by some Kafka Connect source connectors. To enable EOS, you must enable EOS for the Kafka Connect service roles (Kafka Connect workers) and configure your connectors to use EOS.
EOS is enabled for the Kafka Connect service roles in Cloudera Manager with the Exactly-once support for source connectors property. Connectors can be configured using the SMM UI (recommended), SMM API, or Kafka Connect API.
- Enabling EOS for Kafka Connect service roles only enables the use of EOS on the level of the service. For individual connectors to make use of EOS, the connector must be specifically configured to use EOS.
- Not all connectors shipped in CDP support EOS. The following list collects the
source connectors shipped in CDP that support EOS.
- JDBC Source
- SFTP Source
- NiFi Stateless Source
- FileStreamSource
- If you are using a third-party connector, review the documentation of the connector to learn whether EOS is supported.