Advertisement
Guest User

nifi.properties

a guest
Oct 18th, 2018
577
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.05 KB | None | 0 0
  1. # Licensed to the Apache Software Foundation (ASF) under one or more
  2. # contributor license agreements. See the NOTICE file distributed with
  3. # this work for additional information regarding copyright ownership.
  4. # The ASF licenses this file to You under the Apache License, Version 2.0
  5. # (the "License"); you may not use this file except in compliance with
  6. # the License. You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15.  
  16. # Core Properties #
  17. nifi.flow.configuration.file=./conf/flow.xml.gz
  18. nifi.flow.configuration.archive.enabled=true
  19. nifi.flow.configuration.archive.dir=./conf/archive/
  20. nifi.flow.configuration.archive.max.time=30 days
  21. nifi.flow.configuration.archive.max.storage=500 MB
  22. nifi.flow.configuration.archive.max.count=
  23. nifi.flowcontroller.autoResumeState=true
  24. nifi.flowcontroller.graceful.shutdown.period=10 sec
  25. nifi.flowservice.writedelay.interval=500 ms
  26. nifi.administrative.yield.duration=30 sec
  27. # If a component has no work to do (is "bored"), how long should we wait before checking again for work?
  28. nifi.bored.yield.duration=10 millis
  29. nifi.queue.backpressure.count=10000
  30. nifi.queue.backpressure.size=1 GB
  31.  
  32. nifi.authorizer.configuration.file=./conf/authorizers.xml
  33. nifi.login.identity.provider.configuration.file=./conf/login-identity-providers.xml
  34. nifi.templates.directory=./conf/templates
  35. nifi.ui.banner.text=
  36. nifi.ui.autorefresh.interval=30 sec
  37. nifi.nar.library.directory=./lib
  38. nifi.nar.working.directory=./work/nar/
  39. nifi.documentation.working.directory=./work/docs/components
  40.  
  41. ####################
  42. # State Management #
  43. ####################
  44. nifi.state.management.configuration.file=./conf/state-management.xml
  45. # The ID of the local state provider
  46. nifi.state.management.provider.local=local-provider
  47. # The ID of the cluster-wide state provider. This will be ignored if NiFi is not clustered but must be populated if running in a cluster.
  48. nifi.state.management.provider.cluster=zk-provider
  49. # Specifies whether or not this instance of NiFi should run an embedded ZooKeeper server
  50. nifi.state.management.embedded.zookeeper.start=false
  51. # Properties file that provides the ZooKeeper properties to use if <nifi.state.management.embedded.zookeeper.start> is set to true
  52. nifi.state.management.embedded.zookeeper.properties=./conf/zookeeper.properties
  53.  
  54.  
  55. # H2 Settings
  56. nifi.database.directory=./database_repository
  57. nifi.h2.url.append=;LOCK_TIMEOUT=25000;WRITE_DELAY=0;AUTO_SERVER=FALSE
  58.  
  59. # FlowFile Repository
  60. nifi.flowfile.repository.implementation=org.apache.nifi.controller.repository.WriteAheadFlowFileRepository
  61. nifi.flowfile.repository.wal.implementation=org.apache.nifi.wali.SequentialAccessWriteAheadLog
  62. nifi.flowfile.repository.directory=./flowfile_repository
  63. nifi.flowfile.repository.partitions=256
  64. nifi.flowfile.repository.checkpoint.interval=2 mins
  65. nifi.flowfile.repository.always.sync=false
  66.  
  67. nifi.swap.manager.implementation=org.apache.nifi.controller.FileSystemSwapManager
  68. nifi.queue.swap.threshold=20000
  69. nifi.swap.in.period=5 sec
  70. nifi.swap.in.threads=1
  71. nifi.swap.out.period=5 sec
  72. nifi.swap.out.threads=4
  73.  
  74. # Content Repository
  75. nifi.content.repository.implementation=org.apache.nifi.controller.repository.FileSystemRepository
  76. nifi.content.claim.max.appendable.size=1 MB
  77. nifi.content.claim.max.flow.files=100
  78. nifi.content.repository.directory.default=./content_repository
  79. nifi.content.repository.archive.max.retention.period=12 hours
  80. nifi.content.repository.archive.max.usage.percentage=50%
  81. nifi.content.repository.archive.enabled=true
  82. nifi.content.repository.always.sync=false
  83. nifi.content.viewer.url=../nifi-content-viewer/
  84.  
  85. # Provenance Repository Properties
  86. nifi.provenance.repository.implementation=org.apache.nifi.provenance.PersistentProvenanceRepository
  87. nifi.provenance.repository.debug.frequency=1_000_000
  88. nifi.provenance.repository.encryption.key.provider.implementation=
  89. nifi.provenance.repository.encryption.key.provider.location=
  90. nifi.provenance.repository.encryption.key.id=
  91. nifi.provenance.repository.encryption.key=
  92.  
  93. # Persistent Provenance Repository Properties
  94. nifi.provenance.repository.directory.default=./provenance_repository
  95. nifi.provenance.repository.max.storage.time=24 hours
  96. nifi.provenance.repository.max.storage.size=1 GB
  97. nifi.provenance.repository.rollover.time=30 secs
  98. nifi.provenance.repository.rollover.size=100 MB
  99. nifi.provenance.repository.query.threads=2
  100. nifi.provenance.repository.index.threads=2
  101. nifi.provenance.repository.compress.on.rollover=true
  102. nifi.provenance.repository.always.sync=false
  103. nifi.provenance.repository.journal.count=16
  104. # Comma-separated list of fields. Fields that are not indexed will not be searchable. Valid fields are:
  105. # EventType, FlowFileUUID, Filename, TransitURI, ProcessorID, AlternateIdentifierURI, Relationship, Details
  106. nifi.provenance.repository.indexed.fields=EventType, FlowFileUUID, Filename, ProcessorID, Relationship
  107. # FlowFile Attributes that should be indexed and made searchable. Some examples to consider are filename, uuid, mime.type
  108. nifi.provenance.repository.indexed.attributes=
  109. # Large values for the shard size will result in more Java heap usage when searching the Provenance Repository
  110. # but should provide better performance
  111. nifi.provenance.repository.index.shard.size=500 MB
  112. # Indicates the maximum length that a FlowFile attribute can be when retrieving a Provenance Event from
  113. # the repository. If the length of any attribute exceeds this value, it will be truncated when the event is retrieved.
  114. nifi.provenance.repository.max.attribute.length=65536
  115. nifi.provenance.repository.concurrent.merge.threads=2
  116. nifi.provenance.repository.warm.cache.frequency=1 hour
  117.  
  118. # Volatile Provenance Respository Properties
  119. nifi.provenance.repository.buffer.size=100000
  120.  
  121. # Component Status Repository
  122. nifi.components.status.repository.implementation=org.apache.nifi.controller.status.history.VolatileComponentStatusRepository
  123. nifi.components.status.repository.buffer.size=1440
  124. nifi.components.status.snapshot.frequency=1 min
  125.  
  126. # Site to Site properties
  127. nifi.remote.input.host=f4f40c87b65f
  128. nifi.remote.input.secure=false
  129. nifi.remote.input.socket.port=10000
  130. nifi.remote.input.http.enabled=true
  131. nifi.remote.input.http.transaction.ttl=30 sec
  132. nifi.remote.contents.cache.expiration=30 secs
  133.  
  134. # web properties #
  135. nifi.web.war.directory=./lib
  136. nifi.web.http.host=f4f40c87b65f
  137. nifi.web.http.port=8080
  138. nifi.web.http.network.interface.default=
  139. nifi.web.https.host=
  140. nifi.web.https.port=
  141. nifi.web.https.network.interface.default=
  142. nifi.web.jetty.working.directory=./work/jetty
  143. nifi.web.jetty.threads=200
  144. nifi.web.max.header.size=16 KB
  145. nifi.web.proxy.context.path=
  146. nifi.web.proxy.host=
  147.  
  148. # security properties #
  149. nifi.sensitive.props.key=
  150. nifi.sensitive.props.key.protected=
  151. nifi.sensitive.props.algorithm=PBEWITHMD5AND256BITAES-CBC-OPENSSL
  152. nifi.sensitive.props.provider=BC
  153. nifi.sensitive.props.additional.keys=
  154.  
  155. nifi.security.keystore=
  156. nifi.security.keystoreType=
  157. nifi.security.keystorePasswd=
  158. nifi.security.keyPasswd=
  159. nifi.security.truststore=
  160. nifi.security.truststoreType=
  161. nifi.security.truststorePasswd=
  162. nifi.security.needClientAuth=
  163. nifi.security.user.authorizer=managed-authorizer
  164. nifi.security.user.login.identity.provider=
  165. nifi.security.ocsp.responder.url=
  166. nifi.security.ocsp.responder.certificate=
  167.  
  168. # OpenId Connect SSO Properties #
  169. nifi.security.user.oidc.discovery.url=
  170. nifi.security.user.oidc.connect.timeout=5 secs
  171. nifi.security.user.oidc.read.timeout=5 secs
  172. nifi.security.user.oidc.client.id=
  173. nifi.security.user.oidc.client.secret=
  174. nifi.security.user.oidc.preferred.jwsalgorithm=
  175.  
  176. # Apache Knox SSO Properties #
  177. nifi.security.user.knox.url=
  178. nifi.security.user.knox.publicKey=
  179. nifi.security.user.knox.cookieName=hadoop-jwt
  180. nifi.security.user.knox.audiences=
  181.  
  182. # Identity Mapping Properties #
  183. # These properties allow normalizing user identities such that identities coming from different identity providers
  184. # (certificates, LDAP, Kerberos) can be treated the same internally in NiFi. The following example demonstrates normalizing
  185. # DNs from certificates and principals from Kerberos into a common identity string:
  186. #
  187. # nifi.security.identity.mapping.pattern.dn=^CN=(.*?), OU=(.*?), O=(.*?), L=(.*?), ST=(.*?), C=(.*?)$
  188. # nifi.security.identity.mapping.value.dn=$1@$2
  189. # nifi.security.identity.mapping.transform.dn=NONE
  190. # nifi.security.identity.mapping.pattern.kerb=^(.*?)/instance@(.*?)$
  191. # nifi.security.identity.mapping.value.kerb=$1@$2
  192. # nifi.security.identity.mapping.transform.kerb=UPPER
  193.  
  194. # Group Mapping Properties #
  195. # These properties allow normalizing group names coming from external sources like LDAP. The following example
  196. # lowercases any group name.
  197. #
  198. # nifi.security.group.mapping.pattern.anygroup=^(.*)$
  199. # nifi.security.group.mapping.value.anygroup=$1
  200. # nifi.security.group.mapping.transform.anygroup=LOWER
  201.  
  202. # cluster common properties (all nodes must have same values) #
  203. nifi.cluster.protocol.heartbeat.interval=5 sec
  204. nifi.cluster.protocol.is.secure=false
  205.  
  206. # cluster node properties (only configure for cluster nodes) #
  207. nifi.cluster.is.node=false
  208. nifi.cluster.node.address=
  209. nifi.cluster.node.protocol.port=
  210. nifi.cluster.node.protocol.threads=10
  211. nifi.cluster.node.protocol.max.threads=50
  212. nifi.cluster.node.event.history.size=25
  213. nifi.cluster.node.connection.timeout=5 sec
  214. nifi.cluster.node.read.timeout=5 sec
  215. nifi.cluster.node.max.concurrent.requests=100
  216. nifi.cluster.firewall.file=
  217. nifi.cluster.flow.election.max.wait.time=5 mins
  218. nifi.cluster.flow.election.max.candidates=
  219.  
  220. # zookeeper properties, used for cluster management #
  221. nifi.zookeeper.connect.string=
  222. nifi.zookeeper.connect.timeout=3 secs
  223. nifi.zookeeper.session.timeout=3 secs
  224. nifi.zookeeper.root.node=/nifi
  225.  
  226. # Zookeeper properties for the authentication scheme used when creating acls on znodes used for cluster management
  227. # Values supported for nifi.zookeeper.auth.type are "default", which will apply world/anyone rights on znodes
  228. # and "sasl" which will give rights to the sasl/kerberos identity used to authenticate the nifi node
  229. # The identity is determined using the value in nifi.kerberos.service.principal and the removeHostFromPrincipal
  230. # and removeRealmFromPrincipal values (which should align with the kerberos.removeHostFromPrincipal and kerberos.removeRealmFromPrincipal
  231. # values configured on the zookeeper server).
  232. nifi.zookeeper.auth.type=
  233. nifi.zookeeper.kerberos.removeHostFromPrincipal=
  234. nifi.zookeeper.kerberos.removeRealmFromPrincipal=
  235.  
  236. # kerberos #
  237. nifi.kerberos.krb5.file=
  238.  
  239. # kerberos service principal #
  240. nifi.kerberos.service.principal=
  241. nifi.kerberos.service.keytab.location=
  242.  
  243. # kerberos spnego principal #
  244. nifi.kerberos.spnego.principal=
  245. nifi.kerberos.spnego.keytab.location=
  246. nifi.kerberos.spnego.authentication.expiration=12 hours
  247.  
  248. # external properties files for variable registry
  249. # supports a comma delimited list of file locations
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement