Kafka Producer and consumer (Pub Sub Model) using Apache Kafka by Ponnam Jay

Опубликовано: 16 Октябрь 2024
на канале: Java concepts by Jay tutorial
73
0

In this video; I explained about Kafka Producer and consumer (Pub Sub Model) using Apache Kafka .
Disclaimer- Some contents are used for educational purpose under fair use. Copyright Disclaimer Under Section 107 of the Copyright Act 1976, allowance is made for "fair use" for purposes such as criticism, comment, news reporting, teaching, scholarship, and research. Fair use is a use permitted by copyright statute that might otherwise be infringing. Non-profit, educational or personal use tips the balance in favor of fair use.
----------------------------------------------------------------------------------------------------------------------
Copyright Notice:-
Please feel free to leave me a notice to::::: [email protected] :::::: if You find this upload inappropriate.
Contact me personally if You are against an upload which You may have rights to the Images (or) music,
instead of contacting YouTube about a Copyright Infringement....Thank You..!"
===========================================================
Commands for Start Zookeeper and Kafka Server:::

ZooKeeper:::

.\bin\windows\zookeeper-server-start.bat .\config\zookeeper.properties

Kafka Server:::

.\bin\windows\kafka-server-start.bat .\config\server.properties

===========================================================
-------------------------------yaml file started-----------------------------------

server:
port: 9093
spring:
kafka:
consumer:
bootstrap-servers: 127.0.0.1:9092
group-id: jr
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer

producer:
bootstrap-servers: 127.0.0.1:9092
key-serializer: org.apache.kafka.common.serialization.StringSerializer
value-serializer: org.apache.kafka.common.serialization.StringSerializer
topic:
tolly


------------------------------yaml file End-------------------------------------

#javaprogramming
#javaprogrammingtutorial
#javaprogramminglanguage
#javaprogrammingforbeginners
#corejava
#corejavainterviewquestions
#corejavatutorial
#javafullcourse
#javatutorials
#java