-
Notifications
You must be signed in to change notification settings - Fork 929
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ftr: Application-level Registry Model #604
Conversation
Develop 2 feature/dubbo-2.7.5
…n-2.7.5 # Conflicts: # common/observer/event_listener.go # registry/event.go # registry/service_discovery.go
f59430b
to
e5afb63
Compare
type BaseListener struct { | ||
Listenable | ||
ListenersCache map[reflect.Type][]EventListener | ||
Mutex sync.RWMutex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this lock is public ?
) | ||
|
||
const ( | ||
defaultGroup = config_center.DEFAULT_GROUP | ||
defaultGroup = "mapping" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once you change this variable , will it cause compatibility issues?
registry/servicediscovery/synthesizer/subscribed_urls_synthesizer_factory.go
Show resolved
Hide resolved
) | ||
|
||
// tryInitMetadataService will try to initialize metadata service | ||
// TODO (move to somewhere) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to where?
|
||
const ( | ||
ETCDV3_KEY = "etcdv3" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the constant into etcd 's directory.
@@ -155,6 +163,14 @@ const ( | |||
NACOS_USERNAME = "username" | |||
) | |||
|
|||
const ( | |||
ZOOKEEPER_KEY = "zookeeper" | |||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the constant into zookeeper 's directory.
@@ -155,6 +163,14 @@ const ( | |||
NACOS_USERNAME = "username" | |||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the constant into nacos's directory.
@@ -64,7 +83,7 @@ func (c *BaseConfig) startConfigCenter() error { | |||
if c.prepareEnvironment() != nil { | |||
return perrors.WithMessagef(err, "start config center error!") | |||
} | |||
//c.fresh() | |||
// c.fresh() | |||
return err |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK
What this PR does:
Milestone 1.5.0