| # 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. |
| |
| # Core Properties # |
| nifi.flow.configuration.file=./conf/config.yml |
| 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=10 millis |
| |
| # Provenance Repository # |
| nifi.provenance.repository.directory.default=${MINIFI_HOME}/provenance_repository |
| nifi.provenance.repository.max.storage.time=1 MIN |
| nifi.provenance.repository.max.storage.size=1 MB |
| nifi.flowfile.repository.directory.default=${MINIFI_HOME}/flowfile_repository |
| nifi.database.content.repository.directory.default=${MINIFI_HOME}/content_repository |
| |
| #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.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= |
| ## 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 |
| |
| ## 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=http://localhost:10080/c2-server/api |
| nifi.c2.rest.url=http://localhost:10080/c2-server/api/c2-protocol/heartbeat |
| nifi.c2.rest.url.ack=http://localhost:10080/c2-server/api/c2-protocol/acknowledge |
| 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 4 times a second |
| #nifi.c2.agent.heartbeat.period=30 sec |
| ## define parameters about your agent |
| nifi.c2.agent.class=EncryptConfigTester |
| nifi.c2.agent.identifier=EncryptConfigTester-001 |
| |
| ## 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 |
| |
| ## 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 |
| #controller.ssl.context.service=SSLContextService |
| |
| ## specify the destination of c2 directed assets |
| #nifi.asset.directory=${MINIFI_HOME}/asset |
| |
| ## You probably don't need to touch this, but you can if you want to |
| # nifi.default.internal.buffer.size=4096 |
| |
| # must be comma separated |
| nifi.c2.flow.id= |
| nifi.c2.flow.url= |
| |
| # 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_HOME}/minifi-python/ |
| nifi.python.virtualenv.directory=${MINIFI_HOME}/minifi-python-env |
| nifi.python.install.packages.automatically=true |
| # nifi.python.env.setup.binary=python3 |
| |
| # FIPS |
| # nifi.openssl.fips.support.enable=false |