blob: afcb7f9d9f5dedcb8c84287af409611ecdba8b60 [file]
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
### NOTE: Changes to this file are overwritten on upgrade. Add your custom settings to new files ###
### in the conf/minifi.properties.d directory instead. These custom settings files should have ###
### a name ending with ".properties", and they are applied in lexicographic order, after this file. ###
### Example filenames: conf/minifi.properties.d/10-c2.properties, conf/minifi.properties.d/90-repository-tweaks.properties ###
# Core Properties #
nifi.flow.configuration.file=@MINIFI_PATH_FLOW_CONFIG@
nifi.administrative.yield.duration=30 sec
# If a component has no work to do (is "bored"), how long should we wait before checking again for work?
nifi.bored.yield.duration=100 millis
#nifi.flow.engine.threads=5
# Comma separated path for the extension libraries. Relative path is relative to the minifi executable.
nifi.extension.path=@MINIFI_PATH_EXTENSIONS@
# Provenance Repository #
nifi.provenance.repository.directory.default=@MINIFI_PATH_PROVENANCE_REPO@
nifi.provenance.repository.max.storage.time=1 MIN
nifi.provenance.repository.max.storage.size=1 MB
nifi.flowfile.repository.directory.default=@MINIFI_PATH_FLOWFILE_REPO@
# nifi.flowfile.repository.rocksdb.compression=auto
# nifi.flowfile.repository.check.health=true
nifi.database.content.repository.directory.default=@MINIFI_PATH_CONTENT_REPO@
nifi.provenance.repository.class.name=NoOpRepository
nifi.content.repository.class.name=DatabaseContentRepository
# nifi.content.repository.rocksdb.compression=auto
# Use synchronous writes for the RocksDB content repository. Disable for better write performance, if data loss is acceptable in case of the host crashing.
# nifi.content.repository.rocksdb.use.synchronous.writes=true
# Verify checksum of the data read from a RocksDB repository. Disabled by default for better read performance.
# nifi.content.repository.rocksdb.read.verify.checksums=false
# nifi.flowfile.repository.rocksdb.read.verify.checksums=false
# nifi.provenance.repository.rocksdb.read.verify.checksums=false
# nifi.rocksdb.state.storage.read.verify.checksums=false
## Relates to the internal workings of the rocksdb backend
# nifi.flowfile.repository.rocksdb.compaction.period=2 min
# nifi.database.content.repository.rocksdb.compaction.period=2 min
# nifi.database.content.repository.optimize.for.small.db.cache.size=8 MB
# setting this value to "0" enables synchronous deletion
# nifi.database.content.repository.purge.period = 1 sec
#nifi.remote.input.secure=true
#nifi.security.need.ClientAuth=
#nifi.security.client.certificate=
#nifi.security.client.private.key=
#nifi.security.client.pass.phrase=
#nifi.security.client.ca.certificate=
#nifi.security.use.system.cert.store=
# Optional username/password used to authenticate against NiFi in RemoteProcessorGroups (i.e. Site-to-site configurations)
#nifi.rest.api.user.name=admin
#nifi.rest.api.password=password
# State storage configuration #
## The default state storage can be overridden by specifying a controller service instance
## that implements CoreComponentStateManagementProvider
## (e.g. an instance of RocksDbPersistableKeyValueStoreService or UnorderedMapPersistableKeyValueStoreService)
#nifi.state.management.provider.local=
#nifi.state.management.provider.local.path=
## To make the default state storage persist every state change, set this to true
## this comes at a performance penalty, but makes sure no state is lost even on unclean shutdowns
#nifi.state.management.provider.local.always.persist=true
## To change the frequency at which the default state storage is persisted, modify the following
#nifi.state.management.provider.local.auto.persistence.interval=1 min
# Disk space watchdog #
## Stops MiNiFi FlowController activity (excluding C2), when the available disk space on either of the repository
## volumes go below stop.threshold, checked every interval, then restarts when the available space on all
## repository volumes reach at least restart.threshold.
#minifi.disk.space.watchdog.enable=true
#minifi.disk.space.watchdog.interval=15 sec
#minifi.disk.space.watchdog.stop.threshold=100 MB
#minifi.disk.space.watchdog.restart.threshold=150 MB
## Enabling C2 Uncomment each of the following options
## define those with missing options
#nifi.c2.enable=true
## base URL of the c2 server,
## very likely the same base url of rest urls
#nifi.c2.flow.base.url=
#nifi.c2.rest.path.base=
#nifi.c2.rest.url=
#nifi.c2.rest.url.ack=
nifi.c2.root.classes=DeviceInfoNode,AgentInformation,FlowInformation,AssetInformation
## Minimize heartbeat payload size by excluding agent manifest from the heartbeat
nifi.c2.full.heartbeat=false
## heartbeat twice a minute
#nifi.c2.agent.heartbeat.period=30 sec
## define parameters about your agent
#nifi.c2.agent.class=
#nifi.c2.agent.identifier=
## define metrics reported
# nifi.c2.root.class.definitions=metrics
# nifi.c2.root.class.definitions.metrics.name=metrics
# nifi.c2.root.class.definitions.metrics.metrics=runtimemetrics,loadmetrics,processorMetrics
# nifi.c2.root.class.definitions.metrics.metrics.runtimemetrics.name=RuntimeMetrics
# nifi.c2.root.class.definitions.metrics.metrics.runtimemetrics.classes=DeviceInfoNode,FlowInformation
# nifi.c2.root.class.definitions.metrics.metrics.loadmetrics.name=LoadMetrics
# nifi.c2.root.class.definitions.metrics.metrics.loadmetrics.classes=QueueMetrics,RepositoryMetrics
# nifi.c2.root.class.definitions.metrics.metrics.processorMetrics.name=ProcessorMetric
# nifi.c2.root.class.definitions.metrics.metrics.processorMetrics.classes=GetFileMetrics
## Specify multiple heartbeat handlers.
## HeartbeatLogger logs the heartbeats on TRACE for debugging.
#nifi.c2.agent.heartbeat.reporter.classes=HeartbeatLogger
# specify encoding strategy for c2 requests (gzip, none)
#nifi.c2.rest.request.encoding=none
# specify the maximum number of bulletins to send in a heartbeat
#nifi.c2.flow.info.processor.bulletin.limit=1000
# Specify timeout for asset download operations. The entire download must
# finish in the specified amount of time. There is a separate fixed 30 second
# timeout from the last received data packet.
# setting to 0 disables the timeout (default)
# nifi.c2.asset.download.timeout=0s
## enable the controller socket provider on port 9998
## off by default.
#controller.socket.enable=true
#controller.socket.host=localhost
#controller.socket.port=9998
#controller.socket.local.any.interface=false
## specify the destination of c2 directed assets
nifi.asset.directory=@MINIFI_PATH_ASSET_DIR@
## You probably don't need to touch this, but you can if you want to
# nifi.default.internal.buffer.size=4096
# Publish metrics to external consumers
# nifi.metrics.publisher.agent.identifier=
# nifi.metrics.publisher.class=PrometheusMetricsPublisher
# nifi.metrics.publisher.PrometheusMetricsPublisher.port=9936
# nifi.metrics.publisher.metrics=QueueMetrics,RepositoryMetrics,GetFileMetrics,DeviceInfoNode,FlowInformation
# Python processor properties
nifi.python.processor.dir=@MINIFI_PATH_PYTHON_PROCESSORS@
nifi.python.virtualenv.directory=@MINIFI_PATH_PYTHON_VENV@
nifi.python.install.packages.automatically=true
# nifi.python.env.setup.binary=python3
# FIPS
# nifi.openssl.fips.support.enable=false