Mortom123 commented on issue #450: URL: https://github.com/apache/pulsar-helm-chart/issues/450#issuecomment-1988662411
@eolivelli - I also thought that. Optimally, I would like to persist all of the data needed to run the pulsar manager in a single point in the cluster. I stumbled upon this setting [here](https://github.com/apache/pulsar-manager/blob/0c87834197cd9d23e360c6b1c5a471f56eabadc3/src/main/resources/application.properties#L43-L44): ``` # HerdDB - start embedded server 'diskless-cluster' mode, WAL and Data persisted on Bookies, Metadata on ZooKeeper in '/herd', listening on localhost:7000 #spring.datasource.url=jdbc:herddb:zookeeper:localhost:2181?server.start=true&server.base.dir=dbdata&server.mode=diskless-cluster&server.node.id=localhost ``` And thought that the environment variable of the Pulsar Manager `SPRING_DATASOURCE_URL` could be set to something like: `jdbc:herddb:zookeeper:zookeeper.service:2181?server.start=true&server.base.dir=dbdata&server.mode=diskless-cluster&server.node.id=(randAlpha10)` to enable this. This would mean the Pulsar Manager container itself does not need extra volume(-mounts) and data is at a central point in the cluster. Does this work? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
