ERROR Error when sending message to topic test with key: null, value: 0 bytes with error: 錯誤解決
錯誤資訊
[[email protected] kafka_2.11-0.10.0.1]# bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test hello [2018-09-26 13:45:55,088] ERROR Error when sending message to topic test with key: null, value: 5 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback) org.apache.kafka.common.errors.TimeoutException: Batch containing 1 record(s) expired due to timeout while requesting metadata from brokers for test-0
原先使用的是0.8.1.1版本的kafka,換成0.10.0.1版本的kafka之後,仍然使用之前建立的topic test,就會一直出現這個錯誤。
當我使用新版本的kafka建立一個新的topic,進行測試,發現問題就沒有了。
判定是兩個版本的topic不能通用,程式碼可能實現不一致導致的。
mark一下,如果有了解更多的,希望留言。
相關推薦
ERROR Error when sending message to topic test with key: null, value: 0 bytes with error: 錯誤解決
錯誤資訊 [[email protected] kafka_2.11-0.10.0.1]# bin/kafka-console-producer.sh --broker-list localhost:9092 --topic test hello [2018-09
springboot整合kafka發訊息報Exception thrown when sending a message with key= and payload='1' to topic test
本地環境 springboot整合kafka發訊息報錯Exception thrown when sending a message with key='' and payload='1' to topic testorg.apache.kafka.common.errors
Happy Anniversary To The Test That Showed ‘God Does Play Dice’ With The Universe
One of the most puzzling and counterintuitive aspects of quantum physics is the apparent link between determinism and measurement. Make a precise measureme
How to Fix “Failed to play test tone” error on Windows 7, 8 and 10
rem item route audio laptop imu right answer tom 轉自: https://appuals.com/how-to-fix-failed-to-play-test-tone-error-on-windows-7-8-and-10/
記一次Jenkins 打包異常 ERROR: Exception when publishing, exception message [Failure]
command error: 存儲 .com erro 服務器 磁盤空間 comm inf 今天早上打包一直都沒有問題,突然有一次打包突然出現異常現象,如下: ERROR: Exception when publishing, exception message [Fai
解決jekins釋出許可權不足的問題 ERROR: Exception when publishing, exception message [Permission denied]
用jenkins打包往各節點自動釋出程式碼時,遇到如下問題: eie_info\\middlewares\\redirect_middleware.py', 'A eie_info\\middlewares\\user_agents.
hive的streaming:an error occurred when trying to close the Operator running your custom script.
在對hive 進行 select 查詢的時候 我們可以編寫 python 、php 、perl等指令碼來進行相應的資料處理,我們要用到hive 的 transform 和 using。 在使用的時候容易報如圖所示的錯誤:an e
I received an error when I tried to un
Amazon Web Services is Hiring. Amazon Web Services (AWS) is a dynamic, growing business unit within Amazon.com. We are currently hiring So
【故障處理】ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
options 配置信息 解決 fail 可用 soc none fma 刪除 今天在使用冷備份文件重做從庫時遇到一個報錯,值得研究一下。 版本:MySQL5.6.27 一、報錯現象 dba:(none)> start slave; ERROR 1872 (H
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
tail ann 修改 led div odi logs please -o (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on
CENTOS 配置好SVN服務環境後,其他服務器無法訪問 Error: Can't connect to host '192.168.1.103': 由於連接方在一段時間後沒有正確答復或連接的主機沒有反應,連接嘗試失敗。
認證 cal cat rfi reat dmi target working 自己 CENTOS 配置好SVN服務環境後,其他服務器無法訪問 根據 下面的步驟配置好服務後,使用本機可以正常 連接到 SVN 服務, 但是使用局域網的其他服務器訪問時出現下面的錯誤,
mysql鏈接錯誤:Lost connection to MySQL server at 'reading authorization packet', system error: 0
綁定 ati hostname .cn 進行 通過 bin 主機名 反向 在遠程連接mysql的時候,連接不上,出現如下報錯:Lost connection to MySQL server at ‘reading authorization packet‘, system
Redis錯誤:(error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able...
今天執行redis命令:move key22 2 時,報如下錯誤: (error) MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Comman
Error:(63, 20) Failed to resolve: com.github.chrisbanes:PhotoView:2.0.0
報錯:Error:(63, 20) Failed to resolve: com.github.chrisbanes:PhotoView:2.0.0 Show in File Show in Project Structure dialog 解決方案:是在專案的build.gradle新
ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.10' (111) 客戶端連線 centos 7 mysql 資料庫失敗
參考 https://stackoverflow.com/questions/1673530/error-2003-hy000-cant-connect-to-mysql-server-on-127-0-0-1-111 排查了 /etc/my.cnf 裡面的 bin
error obtaining controller instance: failed to create NAT chain
作業系統版本: CentOS Linux release 7.4.1708 (Core) 核心版本: Linux 554735 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_
ERROR: maven + Failed to execute goal on project 錯誤解決思路
近期在做的一個專案,是朋友整合的框架,多個module,專案中的pom檔案很亂,很雜,程式碼拉取下來害怕出問題,果然在執行程式碼的時候出現瞭如上的錯誤,之間和朋友嘗試過各種方法解決,有用朋友的maven下的repository進行替換之類的,其中因為Q
mongodb使用mongo報錯: Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:270
在windows下命令臺輸入mongo報一下錯誤: D:\ProgramFiles\BianCheng\mongodb-win32-x86_64-2008plus-ssl-4.0.4>mongoMongoDB shell version v4.0.4connecting to: mongodb://1
【錯誤解決】springBoot啟動報錯:Error starting ApplicationContext. To display the auto-configuration report re-
【錯誤解決】springBoot啟動報錯:Error starting ApplicationContext. To display the auto-configuration report re-run your application with ‘debug’ enabled. 錯
windows安裝解壓版msyql-8.0.13報ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)
經過查資料發現mysql服務沒有配置以下是我的解決方案。 1,mysql-8.0.13-winx64新建my-default.ini檔案 檢視mysql-8.0.13-winx64有沒有data資料夾,沒有就新建一個。 輸入以下內容 [mysqld] # 設定3306埠 por