On Mon, Oct 8, 2018 at 1:51 AM Enrico Olivelli <[email protected]> wrote:
> Il giorno lun 8 ott 2018 alle ore 09:59 Sijie Guo <[email protected]> > ha scritto: > > > > > > > > On Sun, Oct 7, 2018 at 11:51 PM Enrico Olivelli <[email protected]> > wrote: > >> > >> Hi, > >> I am going to migrate a bunch of applications from the deprecated > >> zkServers to metadataServiceURI. > >> I think that the change is not really straightforward. > > > > > > why? > > uhm just forgot to mention FlatLedgerManagerFactory, I have several > "old" BookKeeper clusters with it. > if you want to be more explicit, you can use: zk+flat:// and zk+hierarchical:// otherwise, you can omit the "+" part, using "zk://" will lookup the layout and use the factory class stored in layout. > > I would like to have a "recipe" for the conversion. > > Having this discussion on the ML can be useful to share this issue, > that all of the users must address before we drop zkAddress > configuration entry > > Enrico > > > > > the metadataServiceURI should be "zk://<zkServers><ledgersRootPath>". > > > > For example, if your zkServers is "127.0.0.1:2181" and your ledgers > root path is "/ledgers". > > The metadata service uri is "zk://127.0.0.1:2181/ledgers" > > > >> > >> > >> Do you have any best practice for doing this change in configurations ? > >> > >> > >> > >> Enrico >
