Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
airflow-dags-hub
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
唐香港
airflow-dags-hub
Commits
d1ef9b57
Commit
d1ef9b57
authored
Aug 27, 2019
by
唐香港
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update alarm_kafka_connect.py
parent
4f2c89c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
alarm_kafka_connect.py
dags/kafka/alarm_kafka_connect.py
+2
-2
No files found.
dags/kafka/alarm_kafka_connect.py
View file @
d1ef9b57
...
...
@@ -77,7 +77,7 @@ def failure_callback(context):
def
get_kafka_connectors
(
cmd
):
logging
.
info
(
'exec cmd:'
+
cmd
)
connectors_list
=
[]
timeout
=
1
0
timeout
=
3
0
try
:
result
=
run_command
(
cmd
,
timeout
)
...
...
@@ -100,7 +100,7 @@ def get_kafka_connectors(cmd):
def
get_connector_status
(
cmd
):
logging
.
info
(
'exec cmd: '
+
cmd
)
timeout
=
1
0
timeout
=
3
0
outdict
=
{}
try
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment