Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
Allow to customize cluster and zookeeper timeout settings
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Charuel <[email protected]>
  • Loading branch information
OlivierCharuel committed Nov 24, 2023
1 parent a14efad commit e946e1b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v2
name: nifi
version: 1.1.5
version: 1.6.5
appVersion: 1.23.2
description: Apache NiFi is a software project from the Apache Software Foundation designed to automate the flow of data between software systems.
keywords:
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ The following table lists the configurable parameters of the nifi chart and the
| `properties.httpPort` | web properties HTTP port | `8080` |
| `properties.httpsPort` | web properties HTTPS port | `null` |
| `properties.clusterPort` | cluster node port | `6007` |
| `properties.clusterNodeConnectionTimeout` | cluster node connection timeout | `5 sec` |
| `properties.clusterNodeReadTimeout` | cluster node read timeout | `5 sec` |
| `properties.zookeeperConnectTimeout` | zookeeper connect timeout | `3 secs` |
| `properties.zookeeperSessionTimeout` | zookeeper session timeout | `3 secs` |
| `properties.provenanceStorage` | nifi provenance repository max storage size | `8 GB` |
| `properties.provenanceMaxStorageTime` | nifi provenance repository max storage time | `10 days` |
| `properties.siteToSite.secure` | Site to Site properties Secure mode | `false` |
Expand Down
8 changes: 4 additions & 4 deletions configs/nifi.properties
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ nifi.cluster.node.protocol.port={{.Values.properties.clusterPort}}
nifi.cluster.node.protocol.threads=10
nifi.cluster.node.protocol.max.threads=50
nifi.cluster.node.event.history.size=25
nifi.cluster.node.connection.timeout=5 sec
nifi.cluster.node.read.timeout=5 sec
nifi.cluster.node.connection.timeout={{.Values.properties.clusterNodeConnectionTimeout}}
nifi.cluster.node.read.timeout={{.Values.properties.clusterNodeReadTimeout}}
nifi.cluster.node.max.concurrent.requests=100
nifi.cluster.firewall.file=
nifi.cluster.flow.election.max.wait.time=1 mins
Expand All @@ -240,8 +240,8 @@ nifi.cluster.flow.election.max.candidates=
# zookeeper properties, used for cluster management #
nifi.zookeeper.client.ensembleTracker={{.Values.properties.zkClientEnsembleTraker}}
nifi.zookeeper.connect.string=
nifi.zookeeper.connect.timeout=3 secs
nifi.zookeeper.session.timeout=3 secs
nifi.zookeeper.connect.timeout={{.Values.properties.zookeeperConnectTimeout}}
nifi.zookeeper.session.timeout={{.Values.properties.zookeeperSessionTimeout}}
nifi.zookeeper.root.node=/nifi

# Zookeeper properties for the authentication scheme used when creating acls on znodes used for cluster management
Expand Down
4 changes: 4 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ properties:
webProxyHost: # <clusterIP>:<NodePort> (If Nifi service is NodePort or LoadBalancer)
clusterPort: 6007
zkClientEnsembleTraker: false # https://issues.apache.org/jira/browse/NIFI-10481
clusterNodeConnectionTimeout: '5 sec'
clusterNodeReadTimeout: '5 sec'
zookeeperConnectTimeout: '3 secs'
zookeeperSessionTimeout: '3 secs'
provenanceStorage: "8 GB"
provenanceMaxStorageTime: "10 days"
siteToSite:
Expand Down

0 comments on commit e946e1b

Please sign in to comment.