Kafka Connect currently supports two execution modes: standalone and distributed.
Start Connect in standalone mode by running the following commands:
bin/connect-standalone.sh config/connect-standalone.properties connector1.properties [connector2.properties ...]
Accessing CKafka is basically the same as accessing the open-source Kafka, except that you need to change bootstrap.servers to the IP assigned when the instance is applied for.
Start Connect in distributed mode by running the following commands:
In this mode, Kafka Connect stores offsets, configs, and task status information in Kafka topics, which are configured in the following fields in connect-distributed:
config.storage.topic offset.storage.topic status.storage.topic
These three topics need to be created manually to ensure that their attributes meet the requirements of Connect.
Configure bootstrap.servers to the IP assigned when the instance is applied for.
Configure group.id to identify the Connect cluster, which should be differentiated from the consumer group.