Debezium history topic设置sasl认证
如果kafka集群开启了sasl认证,创建debezium的connector时会提示认证失败,这时候就需要在创建source connector时添加history topic相关的consumer和producer的sasl认证,具体关键参数如下:
debezium1.9版本
"database.history.consumer.sasl.jaas.config": "org.apache.kafka.common.security.plain.PlainLoginModule required username=\"admin\" password=\"gUAxf5oVEQJWTi7yUYCOYqAcCu3Xbnhv\";",
"database.history.consumer.sasl.mechanism": "PLAIN",