Batch containing 11 record(s) expired due to timeout while requesting metadata
背景:
Kafka叢集在一個192.168.0.x網段的,而我們的生產者在192.168.17.x網段的一臺機器上,故當生產者傳送訊息給Kafka時,
無法將訊息傳送過去。
錯誤:
11:21:13,936 ERROR KafkaProducer - Batch containing 11 record(s) expired due to timeout while requesting metadata from brokers for onlinelogs-1
分析:
1.做Kafka叢集的demo測試是OK的,詳情參考:
http://blog.itpub.net/30089851/viewspace-2132049/
2.在生產者機器上 telnet kafka節點ip 9092 ,也是通的,甚是奇怪。
3.谷歌了幾下:
需要配置advertised.host.name 引數,將Kafka各個節點,該引數配置為當前機器的IP即可,重啟生效配置,測試OK。
Kafka叢集在一個192.168.0.x網段的,而我們的生產者在192.168.17.x網段的一臺機器上,故當生產者傳送訊息給Kafka時,
無法將訊息傳送過去。
錯誤:
11:21:13,936 ERROR KafkaProducer - Batch containing 11 record(s) expired due to timeout while requesting metadata from brokers for onlinelogs-1
分析:
1.做Kafka叢集的demo測試是OK的,詳情參考:
http://blog.itpub.net/30089851/viewspace-2132049/
2.在生產者機器上 telnet kafka節點ip 9092 ,也是通的,甚是奇怪。
3.谷歌了幾下:
需要配置advertised.host.name 引數,將Kafka各個節點,該引數配置為當前機器的IP即可,重啟生效配置,測試OK。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30089851/viewspace-2152671/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- SpokenEnglish01_ When's it due?
- ORA-04021: timeout occurred while waiting to lock objectWhileAIObject
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- S19格式檔案詳解(S-record) 分享
- 熟悉又陌生的containing blockAIBloC
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- yarn certificate has expiredYarn
- Qt MetadataQT
- 2.3.2.2.1 Metadata Links
- 解析arxiv Metadata
- 8.11.4 Metadata Locking
- Database TimeoutDatabase
- react-recordReact
- Active Record Associations
- screen-record
- 什麼叫archive log expired?Hive
- ORA-28001:the password has expired
- 陪你解讀Spring Batch(一)Spring Batch介紹SpringBAT
- @EnableAsync annotation metadata was not injected
- ASM Metadata Dump UtilityASM
- 2.1.3.2 Metadata and Data Links
- Java 迴圈 - for, while 及 do…whileJavaWhile
- 解毒batch normalizationBATORM
- Batch Scripting TutorialBAT
- npm包管理器報錯-npm ERR! Response timeout while trying to fetch https://registry.npmjs.org/@XXX(over 30000ms)NPMWhileHTTPJS
- Linux timeout命令Linux
- ES6+ ---- record
- Daily record-SeptemberAI
- Learn and Record12
- Camera List Record - 120
- 陪你解讀Spring Batch(二)帶你入手Spring BatchSpringBAT
- MySQL之wait_timeout和interactive_timeout引數MySqlAI
- while迴圈以及do while迴圈While
- *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[APPException
- Message from debugger: Terminated due to signal 13
- 深度剖析Margin塌陷,BFC,Containing Block之間的關係AIBloC
- Full GC (Metadata GC Threshold)GC
- Guideline 2.3.10 - Performance - Accurate MetadataGUIIDEORM