Commit 4e085c0a authored by Georgios Ouzounis's avatar Georgios Ouzounis

LAM-22 Implemented kafka stream input consumer.

parent 3b9b59df
#!/bin/bash
/usr/local/kafka/bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic input;
#!/bin/bash
# Change zookeeper-host and application-master-host with the ips of the zookeeper host and the Apache Flink Application Master host. Tis command will create a live feed from topic input
# to the port 9999 of the Application Master host. The stream job should then read the port 9999. The Application Master is responsible for distributing the data to the appropriate machines.
/usr/local/kafka/bin/kafka-console-consumer.sh --consumer.config /usr/local/kafka/config/consumer.properties --zookeeper zookeeper-host:2181 --topic input | nc -lk application-master-host -p 9999;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment