Closed zhaohanqing closed 9 years ago
Hi @zhaohanqing, I think your problem is that you are missing an empty file named "init.py" in your inner kafka_spout_example folder. That file makes it a python module. Just create it and you should be set.
Hi @jswetzen , you are right , after add init.py it worked . Thank you very much !
You're welcome!
Hi guys, When I write a Topology for kafka , I got an error when build:
_pyleus build: error: [VirtualenvError] Failed to execute Python module: kafka_spout_example.msg_print. Error: /tmp/tmpllh9zN/resources/pyleus_venv/bin/python: No module named kafka_spoutexample
it seems bolt module can not be found , however , I create my directory:
My topology: