(20241226) Kafka on server.
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
# Kill all the scripts:
|
# Kill all the scripts:
|
||||||
echo "Killing the script."
|
echo "Killing the script."
|
||||||
pkill -9 -f "$(pwd)/api/main.py"
|
pkill -9 -f "$(pwd)/api/main.py"
|
||||||
#pkill -9 -f "$(pwd)/playground/socketio/from_kafka.py" &
|
pkill -9 -f "$(pwd)/playground/socketio/to_kafka.py"
|
||||||
|
pkill -9 -f "$(pwd)/playground/socketio/from_kafka.py"
|
||||||
|
|
||||||
# Get the name of the current directory,
|
# Get the name of the current directory,
|
||||||
# and kill the monitors of the above scripts:
|
# and kill the monitors of the above scripts:
|
||||||
|
|||||||
@@ -3,7 +3,8 @@
|
|||||||
# Use this to run the microservice without any docker setup.
|
# Use this to run the microservice without any docker setup.
|
||||||
source .venv/bin/activate
|
source .venv/bin/activate
|
||||||
python3 "$(pwd)/api/main.py" --host "0.0.0.0" --port 5106 --workers 4 --script-id "kps_cnv_KBC3MoaU" &
|
python3 "$(pwd)/api/main.py" --host "0.0.0.0" --port 5106 --workers 4 --script-id "kps_cnv_KBC3MoaU" &
|
||||||
#python3 "$(pwd)/playground/socketio/from_kafka.py" &
|
python3 "$(pwd)/playground/socketio/to_kafka.py" &
|
||||||
|
python3 "$(pwd)/playground/socketio/from_kafka.py" &
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
# All done:
|
# All done:
|
||||||
|
|||||||
Reference in New Issue
Block a user