(20250101) Tick-In Kafka (Stateful) ready to test.

This commit is contained in:
2025-01-01 09:44:36 +00:00
parent 6691a68b3a
commit a02b34aeaa
2 changed files with 19 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/bash
# Kill all the scripts:
echo "Killing the script."
pkill -9 -f "$(pwd)/background/finstitutions/trading/to_kafka.py"
# All done:
echo "Done!"
exit 0
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
# Use this to run the microservice without any docker setup.
source .venv/bin/activate
python3 "$(pwd)/background/finstitutions/trading/to_kafka.py" --script-id "kps_dev_gjgptnfnZ1" --token-key "6766805c466e61b446bf91d5" &
deactivate
# All done:
echo "Done!"
exit 0