feat:添加服务进程管理

This commit is contained in:
2024-12-26 10:23:27 +08:00
parent 562b1add2a
commit 2e045fc0d8
6 changed files with 43 additions and 7 deletions

7
service/init.py Normal file
View File

@@ -0,0 +1,7 @@
import threading
from service.test import test
def run_kafka_spark():
print('run_kafka_spark')
t1 = threading.Thread(target=test)
t1.start()