kvEndpoints(int) from the type DefaultCoreEnvironment.Builder is deprecated

I am upgrading couchbase-client.version to 2.6.2 from 2.5.5. And while setting DefaultCouchbaseEnvironment, couple of its methods are deprecated, (methods like kvEndpoints(),queryEndpoints(),viewEndpoints()). I was wondering, is there any replacement methods for those deprecated methods?

thank you

Hey @anetika,

Indeed there are, please check out the more flexible keyValueServiceConfig, queryServiceConfig and viewServiceConfig methods.