This is the simple chat application between two user, with the help of Apache kafka How to use it!!
-
Please make sure you have a kafka installed on your system.
-
run kafka-zookeeper.server.
-
run kafka-server-start.
-
now go to here after downloading it
-
cd KafKaChat/dist/
-
java -jar KafkaChat.jar
now your output would be
Please select one
- user1
- user2
-
select 1 on one terminal
-
select 2 on other terminal