Skip to content

Instantly share code, notes, and snippets.

@garystafford
Last active December 28, 2022 17:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
# install required python packages (1x)
python3 -m pip install kafka-python
cd sales_generator/
# run in foreground
python3 ./producer.py
# better option, run as background process
nohup python3 ./producer.py &
# confirm process is running
ps -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment