kafka
t518vs20s
这个作者很懒,什么都没留下…
展开
-
windows kafka安装
1、下载kafkahttp://kafka.apache.org/downloads2、解压,进入config目录找到文件server.properties并打开3、找到并编辑log.dirs,修改为本地目录5、找到并编辑zookeeper.connect=localhost:2181,修改为zookeeper中配置的端口号Kafka会按照默认,在9092端口上运行,并...原创 2019-02-02 14:02:14 · 2548 阅读 · 0 评论 -
org.apache.kafka.common.KafkaException: Failed to construct kafka producer
java.lang.ExceptionInInitializerErrorCaused by: org.apache.kafka.common.KafkaException: Failed to construct kafka producer at org.apache.kafka.clients.producer.KafkaProducer.<init>(KafkaPro...原创 2019-02-02 17:07:56 · 39624 阅读 · 2 评论