David Handermann created NIFI-14921:
---------------------------------------
Summary: Decouple ZooKeeper to Separate NAR
Key: NIFI-14921
URL: https://issues.apache.org/jira/browse/NIFI-14921
Project: Apache NiFi
Issue Type: Improvement
Components: Core Framework
Reporter: David Handermann
Assignee: David Handermann
NiFi 2 introduced the Leader Election Manager interface as a framework
extension, with direct support for either Apache ZooKeeper or Kubernetes to
implement clustering. The project packages the Kubernetes Leader Election
Manager and State Provider in a separate NAR, and the ZooKeeper implementation
should follow the same approach.
Historical support for an embedded ZooKeeper server involves more direct
linkage to ZooKeeper components. The embedded ZooKeeper server component can be
extracted and wrapped in a State Provider implementation to enable decoupled
NAR packaging. This decoupling strategy can avoid any breaking changes to
existing deployments, retaining support for current application properties.
Future work could consider alternative methods for decoupling embedded
clustering, or a native clustering solution with minimal external dependencies.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)