guang131
V2EX  ›  Kafka

cat 文件进入 kafka 生产者,消费者接收不到

  •  
  •   guang131 · Jul 17, 2018 · 5657 views
    This topic created in 2890 days ago, the information mentioned may be changed or developed.

    cat /friends2 | kafka-console-producer.sh --broker-list localhost:9092 --sync --topic test 这是我使用的命令,正常开启生产者消费者后,生产者发送消息,消费者可以接受到,但是 cat 文件却接收不到,请问是什么原因,我其他同学可以正常使用这条命令,但还是有包括我在内的几位不能使用

    1 replies    2018-07-17 11:35:53 +08:00
    funky
        1
    funky  
       Jul 17, 2018   ❤️ 1
    你是不是少了个. cat ./friends2 ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1733 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 16:21 · PVG 00:21 · LAX 09:21 · JFK 12:21
    ♥ Do have faith in what you're doing.