aboutsummaryrefslogtreecommitdiffstats
path: root/kafka
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2019-12-24 16:33:48 -0800
committerBryan Newbold <bnewbold@archive.org>2019-12-24 16:33:48 -0800
commit3245ab84fab934d495fbe8ca312ccaa9319eba95 (patch)
tree2acfb76abb9ede7e5e70102fff590bce6913935a /kafka
parent1b2913491beabfc29f8ad802b9c3d23c9d44d8fa (diff)
downloadsandcrawler-3245ab84fab934d495fbe8ca312ccaa9319eba95.tar.gz
sandcrawler-3245ab84fab934d495fbe8ca312ccaa9319eba95.zip
kafka topics: compress api-datacite
Diffstat (limited to 'kafka')
-rw-r--r--kafka/topics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/kafka/topics.md b/kafka/topics.md
index 614e9a3..b727e26 100644
--- a/kafka/topics.md
+++ b/kafka/topics.md
@@ -121,7 +121,7 @@ exists`; this seems safe, and the settings won't be over-ridden.
./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 4 --topic fatcat-qa.container-updates
./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 8 --topic fatcat-qa.api-crossref
- ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 8 --topic fatcat-qa.api-datacite
+ ./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 8 --topic fatcat-qa.api-datacite --config cleanup.policy=compact
./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 1 --topic fatcat-qa.api-crossref-state
./kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 2 --partitions 1 --topic fatcat-qa.api-datacite-state