-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[ISSUE-#4115] Refactor client naming event handle logic #4137
Conversation
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.
add unsubscribeAsyncHandle
and subscribeAsyncHandle
is not really reasonable, I think.
If you want to enhance async handle listener, I remember client-config has one kind of implementation. Maybe you can refer it.
If you want to enhance event dispatcher. I think only to replace it with NotifyCenter is enough.
…compatible old version.
solve it |
api/src/main/java/com/alibaba/nacos/api/naming/listener/EventListener.java
Outdated
Show resolved
Hide resolved
… handle naming event.
…cutor and InstanceChangeListener's executor
2.fix getSubscribeServices
api/src/main/java/com/alibaba/nacos/api/naming/listener/AbstractEventListener.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/core/HostReactor.java
Outdated
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/event/InstancesChangeEvent.java
Show resolved
Hide resolved
client/src/main/java/com/alibaba/nacos/client/naming/event/InstancesChangeNotifier.java
Outdated
Show resolved
Hide resolved
api/src/main/java/com/alibaba/nacos/api/naming/listener/AbstractEventListener.java
Show resolved
Hide resolved
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.
@since
should be 1.4.1
done |
Please do not create a Pull Request without creating an issue first.
What is the purpose of the change
issue-#4115