diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-02-12 19:01:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-02-12 19:01:44 -0800 |
commit | c61cb13ae42e3a170c29d4710ea2fc484081ee96 (patch) | |
tree | 7db2a372a72b69126341d04cc010a732b4cec46c /kafka | |
parent | c32d64f7a7b9e01ceb4c3dc161e0ab267cf63654 (diff) | |
download | sandcrawler-c61cb13ae42e3a170c29d4710ea2fc484081ee96.tar.gz sandcrawler-c61cb13ae42e3a170c29d4710ea2fc484081ee96.zip |
pdftrio proposal and start on schema+kafka
Diffstat (limited to 'kafka')
-rw-r--r-- | kafka/topics.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kafka/topics.md b/kafka/topics.md index 2735d51..0ce8610 100644 --- a/kafka/topics.md +++ b/kafka/topics.md @@ -41,6 +41,12 @@ retention (on both a size and time basis). => 6 partitions => can't think of a good key, so none; no compaction + sandcrawler-ENV.pdftrio-output + => output of each pdftrio ML classification + => schema is JSON; see pdftrio proposal for fields. small objects. + => 6 partitions + => key is sha1hex of PDF; enable key compaction + fatcat-ENV.api-crossref fatcat-ENV.api-datacite => all new and updated DOIs (regardless of type) @@ -119,6 +125,8 @@ exists`; this seems safe, and the settings won't be over-ridden. ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 12 --topic sandcrawler-qa.ingest-file-requests-bulk --config retention.ms=7889400000 --config cleanup.policy=delete ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 6 --topic sandcrawler-qa.ingest-file-results + ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 6 --topic sandcrawler-qa.pdftrio-output --config cleanup.policy=compact + ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 1 --topic fatcat-qa.changelog ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 8 --topic fatcat-qa.release-updates-v03 ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 8 --topic fatcat-qa.work-updates |