chaleaochexist
V2EX  ›  Kafka

kafka-console-consumer.sh 同时读取某个 topic 的所有 partition 能实现吗?

  •  
  •   chaleaochexist · Sep 29, 2023 · 3441 views
    This topic created in 1018 days ago, the information mentioned may be changed or developed.

    ./kafka-console-consumer.sh --offset latest --bootstrap-server 10.54.7.143:9092 --topic ***

    这样报错, 因为 --offset latest 和 partition 必须同时指定. 要么都不指定.

    1 replies    2024-02-21 22:45:06 +08:00
    bronyakaka
        1
    bronyakaka  
       Feb 21, 2024
    kafka/bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   918 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:29 · PVG 04:29 · LAX 13:29 · JFK 16:29
    ♥ Do have faith in what you're doing.