Skip to content

Commit b378c94

Browse files
committed
Added command for generation of test data
1 parent 5f2cca2 commit b378c94

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

live-demo___python-jupyter-apache-kafka-ksql-tensorflow-keras.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,15 @@ This script assumes that all components like Zookeeper, Kafka, KSQL, Jupyter) us
77

88
== Starting backend services
99

10-
First we need to start a local Kafka ecosystem to use KSQL from the Jupyter notebook.
10+
First we need to start a local Kafka ecosystem to use KSQL from the Jupyter notebook. We also start a generator to create a continous feed of streaming data.
1111

1212
[source,bash]
1313
----
1414
// Start KSQL with Kafka and other dependencies
15-
confluent start ksql-server
15+
CONFLUENT_HOME# confluent start ksql-server
16+
17+
// Start data generator
18+
CONFLUENT_HOME# ksql-datagen quickstart=users format=json topic=users maxInterval=1000 propertiesFile=etc/ksql/datagen.properties
1619
----
1720

1821
== Open Jupyter notebook

0 commit comments

Comments
 (0)