This repository was archived by the owner on Dec 11, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -16,33 +16,35 @@ Tools:
16
16
How to run:
17
17
--------
18
18
19
- 0 . Follow step 1 and step 2 of [ Kafka Quickstart] ( https://kafka.apache.org/quickstart )
19
+ 1 . Follow step 1 and step 2 of [ Kafka Quickstart] ( https://kafka.apache.org/quickstart )
20
20
21
- 1 . Create two topics: data-in and data-out
21
+ 2 . Create two topics: data-in and data-out
22
22
23
23
``` bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic data-in ```
24
24
25
25
``` bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic data-out ```
26
26
27
- 2 . Clone and build java project
27
+ 3 . Clone and build java project
28
28
29
29
``` git clone https://github.com/sajmmon/kafka-streaming-websockets.git ```
30
+
30
31
``` cd kafka-streaming-websockets ```
32
+
31
33
``` mvn clean package ```
32
34
33
- 3 . Run producer
35
+ 4 . Run producer
34
36
35
37
``` java -cp target/shade-kafka-streaming-websockets-0.1.0.jar uk.ac.ebi.produce.KafkaExampleProducer ```
36
38
37
- 4 . Run streaming client
39
+ 5 . Run streaming client
38
40
39
41
``` java -cp target/shade-kafka-streaming-websockets-0.1.0.jar uk.ac.ebi.streaming.KafkaStreamingMain ```
40
42
41
- 5 . Run spring boot
43
+ 6 . Run spring boot
42
44
43
45
``` java -cp target/shade-kafka-streaming-websockets-0.1.0.jar uk.ac.ebi.Application ```
44
46
45
- 6 . See live dashboard in [ localhost:8080] ( http://localhost:8080 )
47
+ 7 . See live dashboard in [ localhost:8080] ( http://localhost:8080 )
46
48
47
49
When you click "Connect" you should see:
48
50
You can’t perform that action at this time.
0 commit comments