Add km module kafka

This commit is contained in:
leewei
2023-02-14 14:57:39 +08:00
parent 229140f067
commit 469baad65b
4310 changed files with 736354 additions and 46204 deletions

View File

@@ -0,0 +1,40 @@
![kafka-manager-logo](../../assets/images/common/logo_name.png)
**一站式`Apache Kafka`集群指标监控与运维管控平台**
# Kafka-Connect 接入 Kafka
## 配置
schema-registry即可以配置zookeeper的地址, 也可以配置 kafka-broker 的地址。
建议使用 kafka-broker 的地址因为zk获取到的 kafka-broker 地址, 不一定能直接连接成功。
```shell
# 增加如下配置
bootstrap.servers=192.168.0.1:9093
sasl.mechanism=PLAIN
security.protocol=SASL_PLAINTEXT
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \
username="{clusterId}.{appId}" \
password="{password}";
producer.sasl.mechanism=PLAIN
producer.security.protocol=SASL_PLAINTEXT
producer.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \
username="{clusterId}.{appId}" \
password="{password}";
consumer.sasl.mechanism=PLAIN
consumer.security.protocol=SASL_PLAINTEXT
consumer.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required \
username="{clusterId}.{appId}" \
password="{password}";
```