使用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,该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屋!