Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
anuvaad
OpenNMT-py
Commits
199a6525
Commit
199a6525
authored
4 years ago
by
aj7tesh
Browse files
Options
Download
Patches
Plain Diff
added in WFM production kafka topics in env variables
parent
a4488494
master
dependabot/pip/flask-cors-3.0.9
experiments
release_anuvaad
release_anuvaad_users
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/kafka_topics.py
+6
-25
config/kafka_topics.py
with
6 additions
and
25 deletions
+6
-25
config/kafka_topics.py
+
6
−
25
View file @
199a6525
...
...
@@ -35,31 +35,12 @@ kafka_topic = [
{
"consumer"
:
os
.
environ
.
get
(
'KAFKA_ANUVAAD_WFM_DEV_INPUT_TOPIC'
,
nmt_input_topic_default
),
"producer"
:
os
.
environ
.
get
(
'KAFKA_ANUVAAD_WFM_DEV_OUTPUT_TOPIC'
,
nmt_output_topic_default
),
"description"
:
"kafka topics for WFM- Dev environment"
"description"
:
"kafka topics for WFM Dev environment"
},
{
"consumer"
:
os
.
environ
.
get
(
'KAFKA_ANUVAAD_WFM_PROD_INPUT_TOPIC'
,
nmt_input_topic_default
),
"producer"
:
os
.
environ
.
get
(
'KAFKA_ANUVAAD_WFM_PROD_OUTPUT_TOPIC'
,
nmt_output_topic_default
),
"description"
:
"kafka topics for WFM Production environment"
}
]
# kafka_topic = [
# {
# "consumer":"to-nmt",
# "producer":"listener",
# "description":"Document translation,also used in Suvas"
# },
# {
# "consumer":"nmt_translate",
# "producer":"nmt_translate_processed",
# "description":"Pdf dev environment translation"
# },
# {
# "consumer":"nmt_translate_production",
# "producer":"nmt_translate_processed_production",
# "description":"Pdf production translation"
# },
# {
# "consumer":"anuvaad_nmt_translate",
# "producer":"anuvaad_nmt_translate_processed",
# "description":"kafka topics for WFM"
# }
# ]
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets