KafKa
- Log:
W0530 10:02:46.310201 2800606 data_consumer.cpp:341] failed to get partition meta: Local: Broker transport failure
I0530 10:02:46.310237 2800606 data_consumer.h:95] kafka error: Local: Authentication failure, event: sasl_plaintext://10.128.24.13:9092/bootstrap: SASL authentication error: Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-256 (after 305ms in state AUTH_REQ)
I0530 10:02:46.310242 2800606 data_consumer.h:95] kafka error: Local: All broker connections are down, event: 1/1 brokers are down
I0530 10:02:46.310246 2800606 data_consumer.h:95] kafka error: Local: Authentication failure, event: sasl_plaintext://10.128.24.13:9092/bootstrap: SASL authentication error: Authentication failed during authentication due to invalid credentials with SASL mechanism SCRAM-SHA-256 (after 301ms in state AUTH_REQ, 1 ide
ntical error(s) suppressed)
- 更给SASL认证方式:
“property.security.protocol”=“SASL_PLAINTEXT”, – 使用 SASL 认证机制
“property.sasl.mechanism”=“PLAIN”, – SASL 的认证方式为 PLAIN
“property.sasl.username”=“admin”, – SASL 的用户名
“property.sasl.password”=“admin” – SASL 的密码