diff options
author | Brinda Santh <bs2796@att.com> | 2019-11-11 19:35:39 -0500 |
---|---|---|
committer | Brinda Santh <bs2796@att.com> | 2019-11-13 15:18:32 -0500 |
commit | ada372a56d25b41e5a0926a18bf911d20102810f (patch) | |
tree | dac9be4e51fc2e74aefde4e1cf4222267539eee8 /ms/blueprintsprocessor/functions/message-prioritizaion/README.txt | |
parent | a0407eb91a2424f847e188796328871b3a339c93 (diff) |
Add message prioritization module
Kafka streams based solution for message prioritization using database store.
Implement initial Abstract Processors, Puntuations and sample Topology for easy plug and play based on situations
Issue-ID: CCSDK-1917
Signed-off-by: Brinda Santh <bs2796@att.com>
Change-Id: I9c135604574cc3c642186545e076d6a7c60048d4
Diffstat (limited to 'ms/blueprintsprocessor/functions/message-prioritizaion/README.txt')
-rw-r--r-- | ms/blueprintsprocessor/functions/message-prioritizaion/README.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ms/blueprintsprocessor/functions/message-prioritizaion/README.txt b/ms/blueprintsprocessor/functions/message-prioritizaion/README.txt new file mode 100644 index 000000000..baf168767 --- /dev/null +++ b/ms/blueprintsprocessor/functions/message-prioritizaion/README.txt @@ -0,0 +1,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 + |