2018-09-19 13:17:45 UTC - Mate Varga: Hi. We're trying to run Pulsar on Docker Swarm. There's one difficulty -- is it possible to ask Bookkeeper to automatically initialize the metadata in ZK if it is not present? ---- 2018-09-19 13:36:38 UTC - Ivan Kelly: no. you can't run any command before the rest of the cluster comes up? ---- 2018-09-19 15:17:39 UTC - Sijie Guo: @Mate Varga
I am not familiar with docker swarm. but I guess it is similar to kubernetes/helms. here is how people is running on kubernetes using helm chart. so basically you can run one-time pod (container), which initializes the metadata. <https://github.com/apache/incubator-pulsar/blob/master/deployment/kubernetes/helm/pulsar/templates/zookeeper-metadata.yaml#L56> and you can configure all other containers checking and waiting until metadata initialized on startup. for example: <https://github.com/apache/incubator-pulsar/blob/master/deployment/kubernetes/helm/pulsar/templates/bookkeeper-statefulset.yaml#L89> ---- 2018-09-19 23:34:08 UTC - Dave Southwell: @Dave Southwell has joined the channel ---- 2018-09-20 00:13:39 UTC - Dave Southwell: For the past few days I've been working on deploying a staging pulsar environment in GCE and I'd like to run it by some experts to see if I've made some good or bad decisions. The deployment consists of 6 Instances running Debian. 3 are functioning as zookeepers, running two instances of zookeeper on separate ports. One as a global configuration store, and one as a "local" store for the bookies and brokers which are running on the 3 other Debian instances. On each instance I have attached two additional SSD's which are used for logs(WAL's) and ledgers or the more persistent data. ---- 2018-09-20 00:14:45 UTC - Matteo Merli: @Dave Southwell Yes, that’s the recommended setup ---- 2018-09-20 00:26:18 UTC - Ali Ahmed: @Dave Southwell are you using the default replication factor ? ---- 2018-09-20 00:39:05 UTC - Dave Southwell: Right now all defaults. I'm still coming up to speed on all the config options. ---- 2018-09-20 07:40:25 UTC - Xavier Baques: <!here> Can a Pulsar 2.1.1 client work with a Pulsar 2.1.0 cluster ?? Is there any constraint there? ---- 2018-09-20 07:42:30 UTC - Ali Ahmed: yes it can ---- 2018-09-20 07:47:53 UTC - Xavier Baques: Thanks! ---- 2018-09-20 08:42:01 UTC - Ivan Kelly: @Xavier Baques I don't think anything changed between 2.1.0 & 2.1.1 but generally the compat promises are when using a newer broker with an older client +1 : Xavier Baques ----
