I used command without dollar Generate a Cluster UUID KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)" Format Log Directories bin/kafka-storage.sh format --standalone -t $KAFKA_CLUSTER_ID -c config/kraft/reconfig-server.properties Start the Kafka Server bin/kafka-server-start.sh config/kraft/reconfig-server.properties Once the Kafka server has successfully launched, you will have a basic Kafka environment running and ready to use.
Thanks for the amazing video Java Techie but I am unable to to comment when I am trying mention the steps may be due to some youtube glitch since it contains scripts name may be and getting error message. For windows folks, 3.6.0 Kafka version worked for me.
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 got it. Thanks for the quality content. One more question - In the enterprise setting, how do they setup multiple nodes, do they manually do the individual conf. of each server/node, or do they utilise k8s. Does kafka provide something for server management/scaling.
You are asking about cluster buddy ? As per my knowledge usually we do maintain 2 different cluster in cloud south central and west us for dister recovery
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
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
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
Nice video on kraft without zookeeper, Thanks Java Techie..
Thanks for all that you do, you are a great instructor.
Impressed with the explanation
Thanks for all that you do, God bless you sir.
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.
Excellent series.. Pls provide a series on Apache Flink
Can we use Kafka Tool or Offset explorer tool with Kraft mode also?
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.
Please add some videos related to AWS with redis, AWS with Kafka.
Okay i will
When we are using Kafka Kraft ? Does offser explorer GUI tool supports ? or any other GUI tool for kafka ? Could you please reply here sir
No offset explorer won't support as we are not using the zookeeper. Alternative i will check and update
you are the best
Best explanation
KAFKA_CLUSTER_ID="$(bin/windows/kafka-storage.bat random-uuid)" this cmd not working for windows. how to resolve this
I used command without dollar Generate a Cluster UUID
KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)"
Format Log Directories
bin/kafka-storage.sh format --standalone -t $KAFKA_CLUSTER_ID -c config/kraft/reconfig-server.properties
Start the Kafka Server
bin/kafka-server-start.sh config/kraft/reconfig-server.properties
Once the Kafka server has successfully launched, you will have a basic Kafka environment running and ready to use.
Can you please make a video on Migration of the existing Kafka Cluster from ZK-Mode to KRAFT-Mode, using helm charts in K8s.
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
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 !
Thanks for the amazing video Java Techie but I am unable to to comment when I am trying mention the steps may be due to some youtube glitch since it contains scripts name may be and getting error message.
For windows folks, 3.6.0 Kafka version worked for me.
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 ?
Great.. Thank you
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
You are awesome!
How can i see kraft moded topic and partition in offset Explorer
Is it possible to view, what all consumers have accessed certain topic in past ?
No once consumer shut down or disconnected with broker you won't find there details
@@Javatechie got it. Thanks for the quality content. One more question - In the enterprise setting, how do they setup multiple nodes, do they manually do the individual conf. of each server/node, or do they utilise k8s. Does kafka provide something for server management/scaling.
You are asking about cluster buddy ? As per my knowledge usually we do maintain 2 different cluster in cloud south central and west us for dister recovery
@@Javatechie okay, thanks.
Nice Sir..❤️
Which To use Zookeeper or Kraft In Google It is giving Kraft so can you please explain
can you please do one video if possible regarding to kafka security SSL in windows
Okay sure
Sir please do videos on more than jdk8 features
I will
how we connect to offset explorer in kafka kraft way
No direct support
Hi ,
Can you please update video on event sourcing and cqrs ?
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
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
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