Merge pull request #249 from rjshrjndrn/main

chore(install): creating cache topic
This commit is contained in:
Mehdi Osman 2021-12-09 13:44:14 +01:00 committed by GitHub
commit af1ff50dd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -61,10 +61,11 @@
### Set retention time:
kubectl exec -n db kafka-0 -- /bin/bash -c '/opt/bitnami/kafka/bin/kafka-configs.sh --zookeeper kafka-zookeeper.db.svc.cluster.local:2181 --entity-type topics --alter --add-config retention.ms={{ item.retention }} --entity-name {{ item.name }}'
with_items:
- {name: "messages", retention: "3456000000"}
- {name: "events", retention: "3456000000"}
- {name: "raw", retention: "3456000000"}
- {name: "raw-ios", retention: "3456000000"}
- {name: "trigger", retention: "3456000000"}
- {name: "cache", retention: "3456000000"}
- {name: "analytics", retention: "3456000000"}
retries: 3
delay: 60
register: result