-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
(let [topic-name "customer-data-to-sell-to-advertisers"
partition-count 42 ;;obviously]
(create-topic! topic-name partition-count))
(let [topic-name "customer-data-to-sell-to-advertisers"
partition-count 42 ;;obviously
replication-factor 3 ;;tri-force of replicas
topic-config {;;cover tracks
:cleanup.policy :delete
;;24 hours to abuse user trust
:delete.retention.ms 86400000
;;fsync after every 10 messages, living dangerously
:flush.messages 10
;;fsync on some nerdy interval
:flush.ms 32768}]
(create-topic! topic-name partition-count replication-factor topic-config))Both create-topic!s should pass in zkutils as a first argument. This doc made me laugh pretty hard so I will forgive you. I'm not going to create a PR until you decide to un-drop the mic.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels