kafka 錯誤: larger than available brokers
kafka 的這個錯誤 很多地方會觸發 :
CDH 繼續測試中. 今天遇到了這個比較坑.
Error while executing topic command : replication factor: 2 larger
kafka-topics --create --topic event_topic --zookeeper x.x.x.x --replication-factor 2 --partitions 3 --config retention.ms=600000
然後就報了這麼一大堆錯誤:
Error while executing topic command : replication factor: 2 larger than available brokers: 0
20/04/16 11:01:15 ERROR admin.TopicCommand$: org.apache.kafka.common.errors.InvalidReplicationFactorException: replication factor: 2 larger than available brokers: 0
百思不得解 .
然後去看了 config .
發現 config 的 zookeeper.connect 寫的不是ip 是主機名. 於是在命令列上改為主機名.
竟然ok 了.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/133735/viewspace-2686462/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- kafka報錯:InvalidReceiveException: Invalid receive (size = 1195725856 larger than 104857600)KafkaException
- MySQL報錯:Packets larger than max_allowed_packet are not allMySql
- Centering HTML elements larger than their parentsHTML
- LeetCode-Max Sum of Rectangle No Larger Than KLeetCode
- Poster stopped: message is larger than configured max size
- OGG EXTRACT / REPLICAT CHECKPOINT RBA IS LARGER THAN LOCAL TRAIL SIZEAI
- Kafka錯誤記錄Kafka
- 452 Error writing file: A file cannot be larger than the value set by ulimit.ErrorMIT
- Package ssh is not available, but is referred to by another package 錯誤PackageAI
- ORA-15196 WITH ASM DISKS LARGER THAN 2TB [ID 736891.1]ASM
- NBU available_media 命令執行錯誤AI
- android: ADB錯誤“more than one device and emulator”Androiddev
- spring中No bean named xxx available錯誤SpringBeanAI
- 【ERROR】su user報'This account is currently not available'錯誤 for linuxErrorAILinux
- rrdtool命令錯誤,libpng12.so.0: no version information availableORMAI
- 在使用Kafka過程中遇到的錯誤Kafka
- [mac pip錯誤]Can't connect to HTTPS URL because the SSL module is not availableMacHTTPAI
- ORA-15099: disk '/dev/data-disk05-2.5t' is larger than maximum size of 2097152dev
- 使用@Service註解出現No bean named 'xxxx' available]錯誤BeanAI
- "Got a packet bigger than 'max_allowed_packet' bytes"錯誤解決辦法Go
- SQL SERVER恢復資料錯誤解決:The backup set holds a backup of a database other than the existingSQLServerDatabase
- Spring:錯誤No bean named 'xxxxxxx' availableSpringBeanAI
- ASM Setting Larger AU SizesASM
- Kafka聯結器深度解讀之錯誤處理和死信佇列Kafka佇列
- No Bean named 'Xxx' available 異常報錯BeanAI
- Kafka除錯入門(一)Kafka除錯
- Linux yum安裝httpd報錯 No package httpd available ?LinuxhttpdPackageAI
- 用putty連線AWS,報錯“No supported authentication methods available"AI
- kafka報錯解決 kafka.errors.NoBrokersAvailable: NoBrokersAvailableKafkaErrorAI
- Kafka - 消費錯誤問題,多臺機器上面無法消費資料Kafka
- wsl 中 docker-compose 搭建 kafka 叢集出現的外部訪問錯誤DockerKafka
- ORACLE 異常錯誤 錯誤號大全Oracle
- nginx 錯誤除錯Nginx除錯
- rac錯誤除錯除錯
- PbootCMS錯誤提示:執行SQL發生錯誤!錯誤:no such column: def1bootSQL
- Centos下yum安裝Nginx報錯 No package nginx available.CentOSNginxPackageAI
- ORACLE 錯誤Oracle
- 前端錯誤前端