pystorm / streamparse

Run Python in Apache Storm topologies. Pythonic API, CLI tooling, and a topology DSL.
http://streamparse.readthedocs.io/
Apache License 2.0
1.5k stars 218 forks source link

Add pure Python topology runner #442

Closed dan-blanchard closed 2 months ago

dan-blanchard commented 6 years ago

This PR adds a new command sparse run_pure that allows you to run pure Python topologies without Storm for debugging purposes. It is currently a bit rough, but I've been able to get some non-toy topologies running with it, so I figured it was good enough for review.

One thing that is not worth commenting on is the use of print instead of logging throughout. I know I need to fix that.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-3.6%) to 44.597% when pulling d81e1390dfee5905c86bdbfec085ccc7865e23b3 on feature/run_pure into cb72e1107096df9b80915fad4ee0fd1d930c7b59 on master.

kbourgoin commented 2 months ago

Hey @dan-blanchard you think it's safe to close this one? 😈

dan-blanchard commented 2 months ago

What's funny is I actually used to use this all the time, we just never merged it for some reason.