Last active
December 28, 2022 17:59
-
-
Save garystafford/9b2ab7350960affe4ea0f81018dd751b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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