Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TFS
controller
Commits
d97e685a
Commit
d97e685a
authored
7 months ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Pre-merge code cleanup and activation of Telemetry RequestListener
parent
993e9bb4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!294
Release TeraFlowSDN 4.0
,
!258
Resolve "Re-designing of Telemetry"
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploy/kafka.sh
+1
-1
1 addition, 1 deletion
deploy/kafka.sh
src/telemetry/backend/service/TelemetryBackendService.py
+1
-2
1 addition, 2 deletions
src/telemetry/backend/service/TelemetryBackendService.py
with
2 additions
and
3 deletions
deploy/kafka.sh
+
1
−
1
View file @
d97e685a
...
...
@@ -78,7 +78,7 @@ function kafka_deploy() {
echo
"Apache Kafka"
echo
">>> Checking if Apache Kafka is deployed ... "
if
[
"
$KFK_REDEPLOY
"
=
"YES"
]
;
then
if
[
"
$KFK_REDEPLOY
"
=
=
"YES"
]
;
then
echo
">>> Redeploying kafka namespace"
kafka_deploy
elif
kubectl get namespace
"
${
KFK_NAMESPACE
}
"
&> /dev/null
;
then
...
...
This diff is collapsed.
Click to expand it.
src/telemetry/backend/service/TelemetryBackendService.py
+
1
−
2
View file @
d97e685a
...
...
@@ -50,9 +50,8 @@ class TelemetryBackendService(GenericGrpcService):
'
auto.offset.reset
'
:
'
latest
'
})
self
.
running_threads
=
{}
def
RunRequestListen
er
(
self
)
->
bool
:
def
install_servic
er
s
(
self
):
threading
.
Thread
(
target
=
self
.
RequestListener
).
start
()
return
True
def
RequestListener
(
self
):
"""
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment