You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "David Handermann (Jira)" <ji...@apache.org> on 2025/08/30 15:41:00 UTC
[jira] [Created] (NIFI-14921) Decouple ZooKeeper to Separate NAR
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)