春季云数据流 - 为组成的任务跑步者设置Max-Connection-Pool
当运行多个组成的任务时,我遇到了 Spring Cloud DataFlow 上的问题。
Hikari DataSource默认情况下从连接池中取10个连接。在运行以下10个任务时,这意味着每个任务上每个任务所需的100个连接 +连接。
我尝试使用spring.datasource.hikari.maximum-pool-size = 1
在本地运行组合的任务跑步者,并且可以使用。
默认情况下,有什么方法可以将此属性设置为每个组成的任务跑步者?我没有找到与修改此类任务相关的任何文档。
I've encountered an issue on Spring Cloud Dataflow when running multiple composed tasks at once.
Hikari DataSource takes 10 connections from the connection pool by default. When running for example 10 composed tasks at once, this means 100 connections + connections required for every task on each composed task.
I tried running the Composed Task Runner locally with spring.datasource.hikari.maximum-pool-size=1
and it worked.
Is there any way how to set this property to every Composed Task Runner by default ? I did not find any documentation related to modifying things like this for composed tasks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论