[
https://issues.apache.org/jira/browse/NIFI-10975?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17697598#comment-17697598
]
ASF subversion and git services commented on NIFI-10975:
--------------------------------------------------------
Commit 512155ba2fb05d8bbcb906dd0e4bae78d5da27e2 in nifi's branch
refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=512155ba2f ]
NIFI-10975 Add Kubernetes Leader Election and State Provider (#6779)
* NIFI-10975 Added Kubernetes Leader Election and State Provider
- Added Kubernetes Leader Election Manager based on Kubernetes Leases
- Added Kubernetes State Provider based on Kubernetes ConfigMaps
- Added nifi-kubernetes-client for generalized access to Fabric8 Kubernetes
Client
- Added nifi.cluster.leader.election.implementation Property defaulting to
CuratorLeaderElectionManager
- Refactored LeaderElectionManager to nifi-framework-api for Extension
Discovering Manager
- Refactored shared ZooKeeper configuration to nifi-framework-cluster-zookeeper
* NIFI-10975 Updated Kubernetes Client and StateMap
- Upgraded Kubernetes Client from 6.2.0 to 6.3.0
- Added getStateVersion to StateMap and deprecated getVersion
- Updated Docker start.sh with additional properties
* NIFI-10975 Corrected MockStateManager.assertStateSet()
* NIFI-10975 Upgraded Kubernetes Client from 6.3.0 to 6.3.1
* NIFI-10975 Corrected unregister leader and disabled release on cancel
* NIFI-10975 Corrected findLeader handling of Lease expiration
- Changed LeaderElectionManager.getLeader() return to Optional String
* NIFI-10975 Corrected StandardNiFiServiceFacade handling of Optional Leader
* NIFI-10975 Changed getLeader() to call findLeader() to avoid stale cached
values
* NIFI-10975 Updated LeaderElectionCommand to run LeaderElector in loop
* NIFI-10975 Rebased on project version 2.0.0-SNAPSHOT
* NIFI-10975 Corrected Gson and AspectJ versions
- Updated versions to match current main branch and avoid reverting
> Add Kubernetes Leader Election Manager and State Provider
> ---------------------------------------------------------
>
> Key: NIFI-10975
> URL: https://issues.apache.org/jira/browse/NIFI-10975
> Project: Apache NiFi
> Issue Type: Sub-task
> Components: Core Framework
> Reporter: David Handermann
> Assignee: David Handermann
> Priority: Major
> Time Spent: 4h
> Remaining Estimate: 0h
>
> The initial implementation should include both a Kubernetes Leader Election
> Manager and State Provider to provide basic cluster capabilities without any
> dependencies on ZooKeeper.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)