What is Apache Kafka & Apache Kafka Publisher Example using SpringBoot | Java Techie

    9
    40



    This video explain you

    1.What is Apache kafka
    2. Basic Architecture of Kafka
    3. Environment setup for kafka
    4.How to publish plain text and object using Kafka

    GitHub:
    https://github.com/Java-Techie-jt/kafka-publisher

    Blogs:
    https://javagyanmantra.wixsite.com/website

    Facebook group:
    https://www.facebook.com/groups/919464521471923

    Like & subscribe

    source

    Previous articleCertified Kubernetes Admin Study Guide
    Next articlePolda Sultra Selidiki Laporan Terhadap Luhut Soal Big Data

    40 COMMENTS

    1. Really very thankful to you ,this is the exact that i searched on you tube .I have one query here how I picked status of based on orderid in topic ,suppose i publish orderid 101,order id 102 so after payment service task done and publish ,now order need to status of orderid 101 so how it filter .

    2. Hi sir, I tried kafka producer code, but I don't see my msg getting printed on consumer console… do I need to write consumer code also to get them printed, my code has no exception where as isdone method returns me false does that mean my msg is not produced ?

    3. [2021-02-09 16:19:50,056] INFO Kafka commitId : fdcf75ea326b8e07 (org.apache.kafka.common.utils.AppInfoParser)

      [2021-02-09 16:19:50,066] INFO [KafkaServer id=0] started (kafka.server.KafkaServer)

      [2021-02-09 16:20:11,034] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

      [2021-02-09 16:20:32,153] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

      [2021-02-09 16:20:53,355] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

      [2021-02-09 16:21:14,463] WARN [Controller id=0, targetBrokerId=0] Connection to node 0 could not be established. Broker may not be available. (org.apache.kafka.clients.NetworkClient)

      I'm getting this error while trying to start the Kafka Server. Please check !!