guang131
V2EX  ›  Kafka

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

  •  
  •   guang131 · Jul 17, 2018 · 6040 views
    This topic created in 3033 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
    funky
    Jul 17, 2018❤️1
    1
    你是不是少了个. cat ./friends2 ?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5300 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 02:08 · PVG 10:08 · LAX 18:08 · JFK 21:08
    ♥ Do have faith in what you're doing.