summaryrefslogtreecommitdiffstats
path: root/ms/blueprintsprocessor/functions/message-prioritizaion/README.txt
blob: baf168767b6cee5c9c7b608c7b5fd850f85436d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
To Delete Topics
------------------
kafka-topics --zookeeper localhost:2181 --delete  --topic prioritize-input-topic
kafka-topics --zookeeper localhost:2181 --delete  --topic prioritize-output-topic
kafka-topics --zookeeper localhost:2181 --delete  --topic prioritize-expired-topic
kafka-topics --zookeeper localhost:2181 --delete  --topic test-prioritize-application-PriorityMessage-changelog

Create Topics
--------------

kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic prioritize-input-topic
kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic prioritize-output-topic
kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic prioritize-expired-topic

To List topics
----------------
kafka-topics --list --bootstrap-server localhost:9092


To Listen for Output
----------------------
kafka-console-consumer --bootstrap-server localhost:9092 --topic prioritize-output-topic --from-beginning

kafka-console-consumer --bootstrap-server localhost:9092 --topic prioritize-input-topic --from-beginning

kafka-console-consumer --bootstrap-server localhost:9092 --topic prioritize-expired-topic --from-beginning