Hi,
I am launching Pulsar Broker inside the process of my application.

I would like to change the replication factor of ledgers dynamically
without restating the broker.

I have taken a look at code and it seems to me that if I use
org.apache.pulsar.broker.ServiceConfiguration#setManagedLedgerDefaultEnsembleSize
on the original ServerConfiguration I have passed to the constructor of
"PulsarService"
the new value will be eventually picked up for new "managed ledgers".

I know this is an unsupported feature, but do you guys think it can really
work ?

Regards
Enrico

Reply via email to