summaryrefslogtreecommitdiffstats
path: root/python/fatcat_worker.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-30 11:44:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-30 11:44:30 -0700
commite89814d321dcaa2a7d62b429e5c09a7eef2173bf (patch)
tree5d26657ff93167a98aa2294685961e54f883c480 /python/fatcat_worker.py
parente15fdb84133be97ddd2d229818edaaa3f133047f (diff)
downloadfatcat-e89814d321dcaa2a7d62b429e5c09a7eef2173bf.tar.gz
fatcat-e89814d321dcaa2a7d62b429e5c09a7eef2173bf.zip
file and container update kafka topics
Diffstat (limited to 'python/fatcat_worker.py')
-rwxr-xr-xpython/fatcat_worker.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/python/fatcat_worker.py b/python/fatcat_worker.py
index be58810a..267779ff 100755
--- a/python/fatcat_worker.py
+++ b/python/fatcat_worker.py
@@ -21,8 +21,14 @@ def run_changelog(args):
def run_entity_updates(args):
changelog_topic = "fatcat-{}.changelog".format(args.env)
release_topic = "fatcat-{}.release-updates-v03".format(args.env)
- worker = EntityUpdatesWorker(args.api, args.kafka_hosts, changelog_topic,
- release_topic=release_topic)
+ file_topic = "fatcat-{}.file-updates".format(args.env)
+ container_topic = "fatcat-{}.container-updates".format(args.env)
+ worker = EntityUpdatesWorker(args.api, args.kafka_hosts,
+ changelog_topic,
+ release_topic=release_topic,
+ file_topic=file_topic,
+ container_topic=container_topic,
+ )
worker.run()
def run_elasticsearch_release(args):