Apache Kafka No Longer Requires ZooKeeper | Kraft Mode | Detailed Explanation | JavaTechie
Vložit
- čas přidán 14. 04. 2023
- In this Tutorial, we will run apache kafka without Zookeeper and will understand how internally it manage the brokers metadada
#JavaTechie #Kafka
Spring boot microservice Premium course lunched with 70% off 🚀 🚀
Hurry-up & Register today itself!
COURSE LINK : javatechie5246.ongraphy.com/
PROMO CODE : JAVATECHIE50
GitHub:
github.com/Java-Techie-jt
Blogs:
/ javatechie
Facebook:
/ javatechie
guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie
Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account - Věda a technologie
Thanks for all that you do, you are a great instructor.
Nice video on kraft without zookeeper, Thanks Java Techie..
Thanks for all that you do, God bless you sir.
Great.. Thank you
Great, just one suggestion, terminal view could have been better :)
Hi , can you please share the commands on windows? Where should we check cluster id if it's created. Thanks for knowledge sharing.
You are awesome!
Best explanation
Nice Sir..❤️
Can we use Kafka Tool or Offset explorer tool with Kraft mode also?
you are the best
Hi ,
Can you please update video on event sourcing and cqrs ?
How can i see kraft moded topic and partition in offset Explorer
These Kafka series are very helpful....Please start AWS SNS and SQS after this
Both are available please checkout my AWS playlist
Yes buddy i continue this series from coming Wednesday.
Can you please make a video on Migration of the existing Kafka Cluster from ZK-Mode to KRAFT-Mode, using helm charts in K8s.
If we have Kafka with zookeeper running and require to migrate to Krfat without data loss ( With zk metadata ) can u please make video on how to ?
Please add some videos related to AWS with redis, AWS with Kafka.
Okay i will
Hi Bhai,
Can you please make a full video aur playlist on spring boot unit and integration testing
Hi Yagna , it's already there in my channel please check
can you please do one video if possible regarding to kafka security SSL in windows
Okay sure
Could you please let us know if it is always better to use Apache Kafka in spring cloud stream ?
Yes no doubts on it because behind the scenes we are only changing binder
Thanks for your response and thank you for all your great work !
Sir please do videos on more than jdk8 features
I will
can u make video on how we can run this command in window as KAFKA_CLUSTER_ID is not recognized command in windows command line.
1.TO generate UUID:-
1.Paste the kafka folder in c drive or any drive (But do not place in sub folders) - to avoid error : "Input line is too long"
2.go to C:\kafka\bin\windows
3.Open cmd preferablly. Not powershell
kafka-storage.bat random-uuid
2.To set UUID to a variable :-
set KAFKA_CLUSTER_ID={use the uuid generated above}
3.To format log directories
kafka-storage.bat format -t %KAFKA_CLUSTER_ID% -c ../../config/kraft/server.properties
4.To start kafka server
kafka-server-start.bat ../../config/kraft/server.properties
5.To create topic
kafka-topics.bat --create --topic first-kraft-topic --bootstrap-server localhost:9092
6.To produce message on topic
kafka-console-producer.bat --topic first-kraft-topic --bootstrap-server localhost:9092
7.To consume message on topic
kafka-console-consumer.bat --topic first-kraft-topic --from-beginning --bootstrap-server localhost:9092
how we connect to offset explorer in kafka kraft way
No direct support
can make one video for running on windows
1.TO generate UUID:-
1.Paste the kafka folder in c drive or any drive (But do not place in sub folders) - to avoid error : "Input line is too long"
2.go to C:\kafka\bin\windows
3.Open cmd preferablly. Not powershell
kafka-storage.bat random-uuid
2.To set UUID to a variable :-
set KAFKA_CLUSTER_ID={use the uuid generated above}
3.To format log directories
kafka-storage.bat format -t %KAFKA_CLUSTER_ID% -c ../../config/kraft/server.properties
4.To start kafka server
kafka-server-start.bat ../../config/kraft/server.properties
5.To create topic
kafka-topics.bat --create --topic first-kraft-topic --bootstrap-server localhost:9092
6.To produce message on topic
kafka-console-producer.bat --topic first-kraft-topic --bootstrap-server localhost:9092
7.To consume message on topic
kafka-console-consumer.bat --topic first-kraft-topic --from-beginning --bootstrap-server localhost:9092
While runing with kraft getting KAFKA_CLUSTER_ID is not recognised as an internal or external command, on windows. Thanks for the video.
same here
Hi Rushikesh , have you run this command KAFKA_CLUSTER_ID="$(bin/kafka-storage.bat random-uuid)" if not ran it also you can refer below documents and follow the steps kafka.apache.org/quickstart
@@madhurajsingh6558
have you run this command KAFKA_CLUSTER_ID="$(bin/kafka-storage.bat random-uuid)" if not ran it also you can refer below documents and follow the steps kafka.apache.org/quickstart
@@Javatechie For this command only we are getting the error.
Are you trying on windows or mac
please give that commands file
It's there in GitHub file
1.TO generate UUID:-
1.Paste the kafka folder in c drive or any drive (But do not place in sub folders) - to avoid error : "Input line is too long"
2.go to C:\kafka\bin\windows
3.Open cmd preferablly. Not powershell
kafka-storage.bat random-uuid
2.To set UUID to a variable :-
set KAFKA_CLUSTER_ID={use the uuid generated above}
3.To format log directories
kafka-storage.bat format -t %KAFKA_CLUSTER_ID% -c ../../config/kraft/server.properties
4.To start kafka server
kafka-server-start.bat ../../config/kraft/server.properties
5.To create topic
kafka-topics.bat --create --topic first-kraft-topic --bootstrap-server localhost:9092
6.To produce message on topic
kafka-console-producer.bat --topic first-kraft-topic --bootstrap-server localhost:9092
7.To consume message on topic
kafka-console-consumer.bat --topic first-kraft-topic --from-beginning --bootstrap-server localhost:9092
KAFKA_CLUSTER_ID="$(bin/windows/kafka-storage.bat random-uuid)" this cmd not working for windows. how to resolve this
Hi! Man, u video about paypal + java is awesome (top in search youtube) . Can u plz do some actual video about paypal REST API integration to java project? Thank you
Hi Tim sure will definitely check