Skip to content
Snippets Groups Projects
Commit d97e685a authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Pre-merge code cleanup and activation of Telemetry RequestListener

parent 993e9bb4
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!258Resolve "Re-designing of Telemetry"
This commit is part of merge request !258. Comments created here will be created in the context of that merge request.
...@@ -78,7 +78,7 @@ function kafka_deploy() { ...@@ -78,7 +78,7 @@ function kafka_deploy() {
echo "Apache Kafka" echo "Apache Kafka"
echo ">>> Checking if Apache Kafka is deployed ... " echo ">>> Checking if Apache Kafka is deployed ... "
if [ "$KFK_REDEPLOY" = "YES" ]; then if [ "$KFK_REDEPLOY" == "YES" ]; then
echo ">>> Redeploying kafka namespace" echo ">>> Redeploying kafka namespace"
kafka_deploy kafka_deploy
elif kubectl get namespace "${KFK_NAMESPACE}" &> /dev/null; then elif kubectl get namespace "${KFK_NAMESPACE}" &> /dev/null; then
......
...@@ -50,9 +50,8 @@ class TelemetryBackendService(GenericGrpcService): ...@@ -50,9 +50,8 @@ class TelemetryBackendService(GenericGrpcService):
'auto.offset.reset' : 'latest'}) 'auto.offset.reset' : 'latest'})
self.running_threads = {} self.running_threads = {}
def RunRequestListener(self)->bool: def install_servicers(self):
threading.Thread(target=self.RequestListener).start() threading.Thread(target=self.RequestListener).start()
return True
def RequestListener(self): def RequestListener(self):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment