chore(install): creating cache topic
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
d1a20592cc
commit
61835a76f0
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue