摘要:
自定义分区 maven 阅读全文
摘要:
自定义分区 maven 阅读全文
摘要:
4.0.0 com.hashleaf kafka 0.0.1-SNAPSHOT org.apache.kafka kafka_2.9.2 0.8.2.1 log4j log4j ... 阅读全文
摘要:
package cn.xiaojf.kafka.consumer; import org.apache.kafka.clients.consumer.ConsumerConfig; import org.apache.kafka.clients.consumer.ConsumerRecord; import org.apache.kafka.clients.consumer.ConsumerR... 阅读全文
摘要:
package cn.xiaojf.kafka.producer; import org.apache.kafka.clients.producer.*; import org.apache.kafka.common.Cluster; import org.apache.kafka.common.PartitionInfo; import org.apache.kafka.common.ser... 阅读全文
摘要:
package cn.xiaojf.kafka.producer; import org.apache.kafka.clients.producer.KafkaProducer; import org.apache.kafka.clients.producer.Producer; import org.apache.kafka.clients.producer.ProducerRecord; ... 阅读全文
摘要:
package cn.xiaojf.kafka.producer; import org.apache.kafka.clients.producer.Partitioner; import org.apache.kafka.common.Cluster; import org.apache.kafka.common.PartitionInfo; import org.apache.kafka.... 阅读全文
摘要:
主要是修改server.properties的advertised.listeners 阅读全文
摘要:
删除kafka各个节点log目录 删除zookeeper上kafka相关的目录 阅读全文