Advertisement
Guest User

Untitled

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