Kafka Tutorial | Java Producer and Consumer code | Java with Apache Kafka

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 26

  • @stumpycoins2453
    @stumpycoins2453 4 роки тому +1

    Thanks for explaining Kafka in java

    • @binodsuman
      @binodsuman  4 роки тому +1

      Glad to know Kafka tutorial on Java helped you to learn. I would recommend please watch Kafka Spark Streaming Integration video for more knowledge in this technologies.

  • @udupi123456
    @udupi123456 4 роки тому +1

    Good videos very helpful

  • @MuhammadFarhan-ny7tj
    @MuhammadFarhan-ny7tj 3 роки тому

    Thanks for such detailed explanation

  • @ahmedmassalha7602
    @ahmedmassalha7602 4 роки тому +1

    Thank you Sir

  • @binpatel1197
    @binpatel1197 4 роки тому +1

    Thank you so much sir. Really appreciate your efforts. Thanks again for this wonderful video. Please make such more videos on Distributed Systems side.

    • @binodsuman
      @binodsuman  4 роки тому +1

      Hello Bin, Thank you for all nice words, it means a lot for me to motivate myself and make many more videos. Glad to know this Kafka Tutorial for Java Video helped to learn. Noted down your nice suggestion. Keep Learning !!

  • @21akarsh
    @21akarsh 4 роки тому

    Great work sir. 😊😊

  • @sandeepravindranath8120
    @sandeepravindranath8120 7 місяців тому

    superb ....

  • @PPRTerrraceGarden
    @PPRTerrraceGarden 3 роки тому

    Thank you so much sir

  • @aakashironic
    @aakashironic 4 роки тому

    Great explanation.. Thank you

  • @swamimauli4306
    @swamimauli4306 Рік тому

    I have installed the anaconda & jupyter by watching your video.but I am getting error in starting the zookeeper,sh is not recognised this is the error,how to resolve it.

  • @manojbadoni3600
    @manojbadoni3600 4 роки тому +2

    Nice explanation sir, how can we read all the old message from the topic, kindly explain.

    • @binodsuman
      @binodsuman  4 роки тому +1

      Nice to know this Kafka Tutorial on Java video helped you. Using this below command, you can get all message from topic since beginning:
      ./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning
      We can restrict number of old message also using below command:
      ./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic test --from-beginning --max-messages 100
      Here test is the Topic name.
      How to implement same in Java code:
      Please add below configuration in Kafka properties set.
      properties.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG,offsetReset);
      Setting it to the earliest means Consumer will start reading messages from the beginning of that topic.
      Hope this is your answer, let me know if I can provide more details.

    • @manojbadoni3600
      @manojbadoni3600 4 роки тому

      Thank you for you time sir

  • @sptrivedi1989
    @sptrivedi1989 4 роки тому

    Thanks buddy

  • @khushboogupta3105
    @khushboogupta3105 4 роки тому

    Sir in mentioned link Kafka sparks integration is dere not this code pls share

  • @danimatar7815
    @danimatar7815 4 роки тому

    I'm facing an error while converting my java project to maven project called"Errors running builder 'Maven Project Builder' on project " can you help me please?

  • @srinivasy9919
    @srinivasy9919 4 роки тому

    hi, is there any UI to see messages in kafa?like dashboard to see queue and topics?

    • @nitiKT
      @nitiKT 4 роки тому

      Use Kafka Tool

  • @leomonz
    @leomonz 4 роки тому

    I see there were a lot command lines we have to prep to properly start Kafka with zookeeper.
    Is there any alternative way like config or just use Java to do that other than shell script.....

    • @nitiKT
      @nitiKT 4 роки тому

      You can use docker.

  • @raman2192
    @raman2192 8 місяців тому

    Watch at 1.75x

  • @surajchakma6713
    @surajchakma6713 3 роки тому

    We are looking for someone who can develop a JDBC producer connector for Kafka Connect. Let me know if anyone is interested

  • @4nki7
    @4nki7 3 роки тому

    binod