使用 Flink LocalEnvironment 进行生产 [英] Using Flink LocalEnvironment for Production
问题描述
我想了解 LocalExecutionEnvironment 的局限性以及它是否可以用于在生产中运行?
I wanted to understand the limitations of LocalExecutionEnvironment and if it can be used to run in production ?
感谢任何帮助/见解.谢谢
Appreciate any help/insight. Thanks
推荐答案
LocalExecutionEnvironment 启动了一个 Flink MiniCluster,它在单个 JVM 中运行整个 Flink 系统(JobManager、TaskManager).因此,您仅限于该一台机器上可用的 CPU 内核和内存.您也没有来自多个 JobManager 的 HA.我还没有研究 MiniCluster 环境的其他限制,但我确信存在更多限制.
LocalExecutionEnvironment spins up a Flink MiniCluster, which runs the entire Flink system (JobManager, TaskManager) in a single JVM. So you're limited to CPU cores and memory available on that one machine. You also don't have HA from multiple JobManagers. I haven't looked at other limitations of the MiniCluster environment, but I'm sure more exist.
这篇关于使用 Flink LocalEnvironment 进行生产的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!