- basePath
Required - set the base path to store in ZK
- build
Build a new service discovery with the currently set values. If not set, the
builder will be default
- builder
Return a new builder.
- client
Required - set the client to use
- serializer
optional - only needed when you use
ServiceCache#getNewestServiceDefinition()added by happyyangyuan
- thisInstance
Optional - instance that represents the service that is running. The instance
will get auto-register
- watchInstances
Optional - if true, watches for changes to locally registered instances (via
#thisInstance(ServiceIn