AliwareMQ / aliware-kafka-demos

提供各种客户端接入阿里云 消息队列 Kafka 的demo工程(Provide a demo project for various clients to access Alibaba Cloud message queue Kafka)
https://www.aliyun.com/product/kafka
409 stars 215 forks source link

php客户端一直报错 #2

Open minxinqing opened 7 years ago

minxinqing commented 7 years ago

%3|1501655805.616|ERROR|rdkafka#producer-1| [thrd:sasl_ssl://kafka-ons-internet.aliyun.com:8080/bootstrap]: sasl_ssl://kafka-ons-internet.aliyun.com:8080/bootstrap: SASL authentication failure: Disconnected: check client PLAIN credentials and broker logs %3|1501655805.616|ERROR|rdkafka#producer-1| [thrd:sasl_ssl://kafka-ons-internet.aliyun.com:8080/bootstrap]: 1/1 brokers are down

minxinqing commented 7 years ago

证书文件用的是php demo里的ca-cert.pem文件

dongeforever commented 7 years ago

@minxinqing SASL错误,跟证书没关系; 检查下username 与 password是否配置正确了

minxinqing commented 7 years ago

@dongeforever 配置成控制台对应的 Access Key ID 和 Access Key Secret了

dongeforever commented 7 years ago

@minxinqing https://help.aliyun.com/document_detail/57058.html