Configuring NiFi properties

Learn how to override default NiFi configuration settings provided by CFM Operator from the CR file.

NiFI settings are available as part of the specification, under the configOverride key. They can be provided in one of the following ways:

  • inline,
  • as a ConfigMap
  • as a Secret
spec:
  configOverride:
    nifiProperties:
      upsert:
        nifi.cluster.load.balance.connections.per.node: "1"
        nifi.cluster.load.balance.max.thread.count: "4"
        nifi.cluster.node.connection.timeout: "60 secs"
        nifi.cluster.node.read.timeout: "60 secs"
    bootstrapConf:
      upsert:
        java.arg.2: -Xms2g
        java.arg.3: -Xmx2g
        java.arg.13: -XX:+UseConcMarkSweepGC