docker - NiFi-自动配置最大线程

标签 docker automation apache-nifi

我在DCOS中的Docker镜像上运行NiFi 1.3.0。在自动构建后重新部署镜像时,计时器处理器的最大线程数重置为10,事件处理器的最大线程数重置为5。每次重新部署后,我都必须在所需的位置手动设置它们。有没有一种方法可以通过nifi.properties或在template.xml中进行配置?其他位置?用户手册仅引用手册GUI选项。

最佳答案

conf/flow.xml.gz-> flow.xml

<flowController encoding-version="1.1">
  <maxTimerDrivenThreadCount>10</maxTimerDrivenThreadCount>
  <maxEventDrivenThreadCount>5</maxEventDrivenThreadCount>
  ...

关于docker - NiFi-自动配置最大线程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50613626/

相关文章:

java - 对源代码的编译后自定义操作?

docker - 使用docker compose运行Apache NIFI

Docker 卷冲突

emacs - 在 docker 容器中运行 emacs

java - 查找所需的 jar 时出现问题 Google Drive V3 与 Java 集成

hadoop - 尼菲 : capturing the middle section of a filename

java - 尽管 python 代码正确,但仍从 nifi ExecuteScript 处理器获取语法错误

docker schemaregistry和kafkarest无法启动

django - 为什么 gunicorn 会悬卡在这种配置中?

python - 使用 python 自动化 Excel 宏