tencent cloud

이 페이지는 현재 영어 만 지원하며보고있는 언어를 준비 중입니다.
关闭
전체 제품 문서
TDMQ for CKafka
문서TDMQ for CKafkaPractical TutorialConnecting Kafka Connect to CKafka
Connecting Kafka Connect to CKafka
마지막 업데이트 시간:2024-01-09 14:56:36
Connecting Kafka Connect to CKafka
마지막 업데이트 시간: 2024-01-09 14:56:36
Kafka Connect currently supports two execution modes: standalone and distributed.

Starting Connect in Standalone Mode

Start Connect in standalone mode by running the following command:
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 the value of bootstrap.servers to the IP address assigned when you apply for the instance.

Starting Connect in Distributed Mode

Start Connect in distributed mode by running the following command:
bin/connect-distributed.sh config/connect-distributed.properties
In this mode, Kafka Connect stores the offset, configuration, 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 topics need to be created manually to ensure that their attributes meet the requirements of Connect.
config.storage.topic should have only one partition and multiple replicas and be in compact mode.
offset.storage.topic should have multiple partitions and replicas and be in compact mode.
status.storage.topic should have multiple partitions and replicas and be in compact mode.
Set bootstrap.servers to the IP address assigned when you apply for the instance.
Configure group.id to identify the Connect cluster, which should be differentiated from the consumer group.
문제 해결에 도움이 되었나요?
더 자세한 내용은 문의하기 또는 티켓 제출 을 통해 문의할 수 있습니다.
아니오

피드백

문의하기

고객의 업무에 전용 서비스를 제공해드립니다.

기술 지원

더 많은 도움이 필요하시면, 티켓을 통해 연락 바랍니다. 티켓 서비스는 연중무휴 24시간 제공됩니다.

연중무휴 24시간 전화 지원