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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is noServer
- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.Server
- t_c_b_s之儲存過程plsql record型別小記_while loop儲存過程SQL型別WhileOOP
- SpokenEnglish01_ When's it due?
- ORA-04021: timeout occurred while waiting to lock objectWhileAIObject
- ORA-04021,timeout occurred while waiting to lock objectWhileAIObject
- S19格式檔案詳解(S-record) 分享
- 【BATCH】BATCH-CopyBAT
- cassandra啟動報錯:Exiting due to error while processing commit log during initialization.ErrorWhileMIT
- NBU (98) error requesting media (tpreq)Error
- Oracle 11G ddl_lock_timeoutOracle
- yarn certificate has expiredYarn
- 熟悉又陌生的containing blockAIBloC
- jdbc batchJDBCBAT
- DB2 License expiredDB2
- 2007.12.18:It's foolish to while away one's time in idle talkWhile
- 11g asm metadata 備份恢復演練ASM
- Oracle Materialized Views Containing Joins OnlyOracleZedViewAI
- Your password has expired. To log in you must change it using a client that supports expired passworclient
- [Rman]RMAN-06207 WARNING:2 objects could not be deleted for DISK channel(s) dueObjectdelete
- 【11g新特性】DDL_LOCK_TIMEOUT的作用
- 解毒batch normalizationBATORM
- TSM BATCH模式BAT模式
- memcache清除items和expired方法
- UVA - 11178 Morley's TheoremREM
- Qt MetadataQT
- react-recordReact
- Oracle 11g DDL_LOCK_TIMEOUT引數說明Oracle
- GC 11.1 Install fails at Agent CA while Securing Agent in secure.log_1118270.1GCAIWhile
- Java 迴圈 - for, while 及 do…whileJavaWhile
- mysql timeoutMySql
- Database TimeoutDatabase
- 陪你解讀Spring Batch(一)Spring Batch介紹SpringBAT
- EXPIRED和OBSOLETE的區別
- 5 Fansites Q & A BatchBAT
- Batch Scripting TutorialBAT
- 解析arxiv Metadata
- ASM Metadata and InternalsASM