This project contains Kafka Connect component implementations.
The primary classes available for use are listed below.
No Kafka Connect Sources are currently provided.
- A simple Kafka Connect Sink Connector that sends data to another Kafka cluster without any transformation or filtering.
- Requires the use of the
org.apache.kafka.connect.converters.ByteArrayConverter
converter. - To run this connector in kafka-connect add the
common-kafka
andcommmon-kafka-connect
jars to the kafka-connect classpath.
bootstrap.servers
: The list of broker host/port for the kafka cluster to send data to (Required)producer.*
: Kafka producer configuration. To add a particular producer config prefix it withproducer.
(i.e.producer.acks
)
By default the following is set to ensure everything is delivered,
acks
:all
max.in.flight.requests.per.connection
:1
retries
:2147483647
(i.e.Integer.MAX_VALUE
)
- Sink Task implementation used by the
KafkaSinkConnector
. - Does not do any deserialization or serialization of data.
- Sets producer configuration to ensure strong consistency.
- Writes data to the same topic and partition in the destination Kafka cluster that it was read from the source Kafka cluster.