Skip to content

Commit 34fd74d

Browse files
committed
Updated KSQL Python example
1 parent 6830fe8 commit 34fd74d

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

python-jupyter-apache-kafka-ksql-tensorflow-keras.ipynb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,19 @@
1111
"cell_type": "code",
1212
"execution_count": 1,
1313
"metadata": {},
14-
"outputs": [],
14+
"outputs": [
15+
{
16+
"ename": "ModuleNotFoundError",
17+
"evalue": "No module named 'ksql'",
18+
"output_type": "error",
19+
"traceback": [
20+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
21+
"\u001b[0;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
22+
"\u001b[0;32m<ipython-input-1-96f36cde41a9>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0;32mfrom\u001b[0m \u001b[0mksql\u001b[0m \u001b[0;32mimport\u001b[0m \u001b[0mKSQLAPI\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 2\u001b[0m \u001b[0mclient\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mKSQLAPI\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m'http://localhost:8088'\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
23+
"\u001b[0;31mModuleNotFoundError\u001b[0m: No module named 'ksql'"
24+
]
25+
}
26+
],
1527
"source": [
1628
"from ksql import KSQLAPI\n",
1729
"client = KSQLAPI('http://localhost:8088')"
@@ -133,18 +145,6 @@
133145
"display_name": "Python 3",
134146
"language": "python",
135147
"name": "python3"
136-
},
137-
"language_info": {
138-
"codemirror_mode": {
139-
"name": "ipython",
140-
"version": 3
141-
},
142-
"file_extension": ".py",
143-
"mimetype": "text/x-python",
144-
"name": "python",
145-
"nbconvert_exporter": "python",
146-
"pygments_lexer": "ipython3",
147-
"version": "3.7.1"
148148
}
149149
},
150150
"nbformat": 4,

0 commit comments

Comments
 (0)