kafka Exception thrown when sending a message with key='null'
来源:互联网 发布:手机期货行情软件 编辑:程序博客网 时间:2024/06/05 17:11
- 关于一次部署kafka出现异常(key=’null’)的记录,环境为阿里云服务器
- 先贴异常:
- org.springframework.kafka.support.LoggingProducerListener [76] - Exception thrown when sending a message with key=’null’ and payload=’2017-11-14 15:36:53|iZbp1115ogry6vyp418vplZ|192.168.3.1|{“token”:”708037c594e04850bfd48f82fa862dd…’ to topic
- kafka启动日志报错如下
Could not initialize class kafka.network.RequestChannel
- kafka我采用三节点部署,配置如下:
broker.id=0 # 1,2delete.topic.enable=trueauto.create.topics.enable=falselisteners=PLAINTEXT://192.168.4.1:9092advertised.listeners=PLAINTEXT://192.168.4.1:9092num.network.threads=3num.io.threads=6socket.send.buffer.bytes=102400socket.receive.buffer.bytes=102400socket.request.max.bytes=104857600log.dirs=/opt/kafka-logsnum.partitions=6num.recovery.threads.per.data.dir=1default.replication.factor=2offsets.topic.replication.factor=1transaction.state.log.replication.factor=1transaction.state.log.min.isr=1log.retention.hours=168log.segment.bytes=1073741824log.retention.check.interval.ms=300000zookeeper.connect=192.168.4.1:2181,192.168.4.2:2181,192.168.4.3:2181zookeeper.connection.timeout.ms=6000group.initial.rebalance.delay.ms=0
- 到生产环境总是有一台机网络有问题,经过查看日志,发现该台机没有做主机名ip映射,坑啊:
- 然后改/etc/hosts文件加上以下一段,一切正常,在此做一下记录:
127.0.0.1 iZbp1iazbfd949z016r62zZ
阅读全文
0 0
- kafka Exception thrown when sending a message with key='null'
- 【kafka】Exception thrown when sending a message with key='null' and payload='lizhenjuan;99' to topic
- Selenium – A exception with a null response was thrown sending an HTTP request
- ERROR Error when sending message to topic test_topic with key: null, value: 3 bytes……:部署Kafka时遇到两个问题
- Weka Exception message: null
- 发送消息(Sending a Message)
- Jboss failed sending message to null
- Exception is thrown but exception.getMessage() is null
- oracle数据库 java.lang.Exception: Exception in sending Request :: null
- java.lang.Exception: Exception in sending Request :: null
- oracle java.lang.Exception: Exception in sending Request :: null
- java.lang.Exception: Exception in sending Request :: null
- java.lang.Exception: Exception in sending Request :: null
- java.lang.Exception: Exception in sending Request :: null
- Bypass warning message when sending email from AX
- Installation failed with message null
- raised exception class EAccessViolation with message 'Access violation ataddress 64FF0002. Read of a
- A web application created a ThreadLocal with key of type [null]
- Linux环境下Spring Boot项目内置Tomcat参数配置
- java习题
- 短线大盘正常震荡调整
- 看流畅python中的代码
- spring-cloud综述【微服务简述】
- kafka Exception thrown when sending a message with key='null'
- mybatis mapper.xml文件中$和#的使用区别
- Linux核心命令
- GIt 使用
- c/c++中 const修飾符
- 登录之找回密码-java发送邮件
- 以物流案例看基于表格存储实时数据流的serverless计算
- Fire Net (DFS)
- js中的对象