Kafka Producer Key & Message Acknowledgements

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ม.ค. 2025

ความคิดเห็น • 10

  • @KnowledgeAmplifier1
    @KnowledgeAmplifier1  2 ปีที่แล้ว

    Reference Code:
    -------------------------------
    Start Zookeeper:
    ---------------------------------------
    F:/kafka_2.12-3.2.0/bin/windows/zookeeper-server-start.bat F:/kafka_2.12-3.2.0/config/zookeeper.properties
    Start Kafka-server:
    -----------------------------------------
    F:/kafka_2.12-3.2.0/bin/windows/kafka-server-start.bat F:/kafka_2.12-3.2.0/config/server.properties
    Create topic:
    ------------------------------------
    F:/kafka_2.12-3.2.0/bin/windows/kafka-topics.bat --create --topic hello_world2 --bootstrap-server localhost:9092 --replication-factor 1 --partitions 2
    Start Producer:
    --------------------------------------
    Earlier we were launching producer using this command --
    F:/kafka_2.12-3.2.0/bin/windows/kafka-console-producer.bat --topic hello_world2 --bootstrap-server localhost:9092
    Now to send the messages and key-value pair , we are going to launch producer using this command --
    F:/kafka_2.12-3.2.0/bin/windows/kafka-console-producer.bat --bootstrap-server localhost:9092 --property "parse.key=true" --property "key.separator=:" --topic hello_world2
    Publish the messages --
    1001:"Mobile,100"
    1002:"Mouse,50"
    1001:"Computer,1500"
    1003:"Pen,2"
    1002:"Earphone,65"
    1001:"Notebook,99"

    Start Consumer:
    -------------------------------------
    F:/kafka_2.12-3.2.0/bin/windows/kafka-console-consumer.bat --topic hello_world2 --from-beginning --bootstrap-server localhost:9092

  • @GuyDope-fn6ru
    @GuyDope-fn6ru ปีที่แล้ว +2

    best Apache Kafka tutorial I saw so far!

  • @RadomName3457
    @RadomName3457 ปีที่แล้ว +1

    loving your kafka series so far. Best on the platform with your theory and real examples.

  • @dadomu5102
    @dadomu5102 29 วันที่ผ่านมา +1

    wonderful lecture

  • @KLNP-ot6rq
    @KLNP-ot6rq 2 ปีที่แล้ว +1

    Very good ! nicely explained !

  • @shahezadalam6709
    @shahezadalam6709 2 ปีที่แล้ว +2

    Will you cover ssl and tls in kafka and also multinode cluster?

    • @KnowledgeAmplifier1
      @KnowledgeAmplifier1  2 ปีที่แล้ว

      Hello shahezad alam, sure will cover ssl & tls , for multinode cluster , you can have a look in the below videos which already I uploaded --
      Kafka Cluster with Multiple Brokers
      th-cam.com/video/fOh98R9usck/w-d-xo.html
      Topic with Replication in Multiple Broker Kafka Cluster
      th-cam.com/video/jjtGMij-DPo/w-d-xo.html
      Happy Learning :-)