KAFKA
iAmZard
邮箱: sijunx@163.com
展开
-
Kafka错误kafka.common.MessageStreamsExistException: ZookeeperConsumerConnector can create message stre
WARN 2020-02-25 00:16:47 com.spider.base.kafka.task.MyKafkaConsumerTask.run(45) | 任务执行异常 topic:data_syn_topic e:kafka.common.MessageStreamsExistException: ZookeeperConsumerConnector can create message...原创 2020-02-25 00:18:00 · 473 阅读 · 0 评论 -
Kafka集群搭建
kafka版本:zookeeper配置vi /usr/local/kafka/config/zookeeper.properties配置内容:dataDir=/usr/local/kafka/my_dir/zookeeper/dataclientPort=2181initLimit=10syncLimit=5maxClientCnxns=0server.1=192.168.1...原创 2020-02-02 19:57:32 · 341 阅读 · 0 评论 -
Kafka环境搭建
下载Kafka的release包原创 2019-11-26 16:45:47 · 255 阅读 · 1 评论 -
Kafka常用命令
创建Topic运行命令: ./bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic myTopic原创 2019-11-15 17:30:53 · 156 阅读 · 0 评论 -
Kafka原理解析-旧版本0.8高级Api的Demo和配置信息获取技巧
旧版本高级Api封装:package xxxxxx;import kafka.producer.KeyedMessage;import kafka.producer.ProducerConfig;import java.util.Properties;public class KafkaProducerTest implements Runnable {private fi...原创 2019-07-29 08:23:13 · 276 阅读 · 0 评论