salmakorchi / KafkaTP5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Démarrage Zookeeper

Start zookeeper-server-start.bat ../../config/zookeeper.properties image

Démarrage KAFKA

start kafka-server-start.bat ../../config/server.properties image

lancement du kafka consumer

start kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic R1 image

Il va attendre que des messages arrive a ce topic

Lancement du kafka Producer

start kafka-console-producer.bat --broker-list localhost:9092 --topic R1

image

#consumer a reçue les messages

image

Les dependances utilisé

image

On lance un nouveau consumer et on lance l’application

image

Supplier sur R3

image

Analytics

image

bin\windows\kafka-console-consumer.bat --bootstrap-server localhost:9092 --topic R4 --property print.key=true --property print.value=true --property key.deserializer=org.apache.kafka.common.serialization.StringDeserializer --property value.deserializer=org.apache.kafka.common.serialization.LongDeserializer

image

Results

image

About


Languages

Language:Java 81.0%Language:HTML 19.0%