Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update zookeeper.properties template for 2.0.0-M1 #356

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
- [PR #350](https://github.com/konpyutaika/nifikop/pull/350) - **[Operator]** Remove optimistic lock on `Patch`.
- [PR #352](https://github.com/konpyutaika/nifikop/pull/352) - **[Operator]** Changed default LogLevel of NiFi from `DEBUG` to `INFO`.
- [PR #354](https://github.com/konpyutaika/nifikop/pull/354) - **[Operator/NifiCluster]** Updated `login_identity_providers.xml` template for 2.0.0-M1.
- [PR #356](https://github.com/konpyutaika/nifikop/pull/356) - **[Operator/NifiCluster]** Updated `zookeeper.properties` template for 2.0.0-M1.

### Fixed Bugs

Expand Down
31 changes: 29 additions & 2 deletions pkg/resources/templates/config/zookeeper_properties.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,37 @@ tickTime=2000
dataDir=./state/zookeeper
autopurge.snapRetainCount=30

# Embedded/distributed ZK TLS connection support can be activated by setting these properties at minimum:
#
# secureClientPort=2281
# serverCnxnFactory=org.apache.zookeeper.server.NettyServerCnxnFactory

# Most TLS configurations will set these values as well:
#
# ssl.keyStore.location=/example/path/to/key-store.jks
# ssl.keyStore.password=change this value to the actual value in your installation
# ssl.trustStore.location=/example/path/to/trust-store.jks
# ssl.trustStore.password=change this value to the actual value in your installation
# ssl.hostnameVerification=false
#
# Note that many ZK parameters can set as Java system properties, refer to the ZK admin guide for details:
#
# https://zookeeper.apache.org/doc/current/zookeeperAdmin.html#sc_configuration

# Other common settings:
#
# client.portUnification=true
# admin.enableServer=false

# The server string has changed as of 3.5.5 and the client port is now specified at the end of the server string:
# https://zookeeper.apache.org/doc/r3.5.5/zookeeperReconfig.html#sc_reconfig_clientport
#
# Specifies the servers that are part of this zookeeper ensemble. For
# every NiFi instance running an embedded zookeeper, there needs to be
# a server entry below. For instance:
# a server entry below. Client port is now specified at the end of the string
# after a semi-colon.
#
# For instance:
#
# server.1=nifi-node1-hostname:2888:3888;2181
# server.2=nifi-node2-hostname:2888:3888;2181
Expand All @@ -43,5 +70,5 @@ autopurge.snapRetainCount=30
# administration guide for more details.
#

server.1=
server.1=nifi
`