Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Do
-
1.8.0
-
None
-
None
Description
We already have LeaderAddressAndId class, and the existing LeaderRetrievalListener#notifyLeaderAddress and LeaderElectionService#confirmLeaderSessionID can benefit from using such an encapsulation to pass leadership information.
Specifically,
LeaderRetrievalListener#notifyLeaderAddress(String leaderAddress, UUID leaderSessionID) → LeaderRetrievalListener#notifyLeadership(LeaderAddressAndId)
LeaderElectionService#confirmLeaderSessionID(UUID leaderSessionID) → LeaderElectionService#publishLeadership(LeaderAddressAndId)
An option is rename LeaderAddressAndId to LeadershipInfo.
Attachments
Issue Links
- is superceded by
-
FLINK-13997 Remove legacy LeaderAddressAndId
- Resolved