aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_worker.py
diff options
context:
space:
mode:
authorbnewbold <bnewbold@archive.org>2020-10-20 23:32:26 +0000
committerbnewbold <bnewbold@archive.org>2020-10-20 23:32:26 +0000
commitb6b30bf5468d01a878e3c2ecac933f29b5b6ddc5 (patch)
treeaede638925dabfac40bbd1c77607e4b31e3a234c /python/fatcat_worker.py
parenta7765fb8b6011c224dc1e4d7b0e30159bae7a903 (diff)
parent99c54764f0cbbb05409001b4af83182842f4e52d (diff)
downloadfatcat-b6b30bf5468d01a878e3c2ecac933f29b5b6ddc5.tar.gz
fatcat-b6b30bf5468d01a878e3c2ecac933f29b5b6ddc5.zip
Merge branch 'bnewbold-scholar-pipeline' into 'master'
entity updater: new work update feed (ident and changelog metadata only) See merge request webgroup/fatcat!87
Diffstat (limited to 'python/fatcat_worker.py')
-rwxr-xr-xpython/fatcat_worker.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_worker.py b/python/fatcat_worker.py
index 19ac16cd..5e3fb3e9 100755
--- a/python/fatcat_worker.py
+++ b/python/fatcat_worker.py
@@ -22,12 +22,14 @@ def run_entity_updates(args):
release_topic = "fatcat-{}.release-updates-v03".format(args.env)
file_topic = "fatcat-{}.file-updates".format(args.env)
container_topic = "fatcat-{}.container-updates".format(args.env)
+ work_ident_topic = "fatcat-{}.work-ident-updates".format(args.env)
ingest_file_request_topic = "sandcrawler-{}.ingest-file-requests".format(args.env)
worker = EntityUpdatesWorker(args.api, args.kafka_hosts,
changelog_topic,
release_topic=release_topic,
file_topic=file_topic,
container_topic=container_topic,
+ work_ident_topic=work_ident_topic,
ingest_file_request_topic=ingest_file_request_topic,
)
worker.run()