我是靠谱客的博主 踏实斑马,最近开发中收集的这篇文章主要介绍java kafka ssl_Kafka SSL 连接错误,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

我从客户端进行生产时收到以下警告,该客户端连接到包含基于 SSL 的身份验证的服务器端:

[2016-03-10 07:09:13,018] WARN The configuration ssl.keystore.location = /etc/pki/tls/certs/keystore-hpfs.jks was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

[2016-03-10 07:09:13,019] WARN The configuration ssl.keystore.password = 1qazxsw2 was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

[2016-03-10 07:09:13,019] WARN The configuration ssl.key.password = 1qazxsw2 was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

[2016-03-10 07:09:13,019] WARN The configuration ssl.truststore.type = JKS was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

[2016-03-10 07:09:13,019] WARN The configuration ecurity.protocol = SSL was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

[2016-03-10 07:09:13,019] WARN The configuration ssl.keystore.type = JKS was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

[2016-03-10 07:09:13,019] WARN The configuration ssl.enabled.protocols = TLSv1.2,TLSv1.1,TLSv1 was supplied but isn't a known config. (org.apache.kafka.clients.producer.ProducerConfig)

所以我无法生成任何消息,误差低于:

ERROR 使用密钥向主题测试发送消息时出错:null,值:2 个字节,带错误:60000 ms 后无法更新元数据。 (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)

最后

以上就是踏实斑马为你收集整理的java kafka ssl_Kafka SSL 连接错误的全部内容,希望文章能够帮你解决java kafka ssl_Kafka SSL 连接错误所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(36)

评论列表共有 0 条评论

立即
投稿
返回
顶部