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

LAM-22 Implemented kafka stream input consumer.

parent 3b9b59df
/usr/local/kafka/bin/ --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic input;
# 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/ --consumer.config /usr/local/kafka/config/ --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