Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/4178#discussion_r123906377
--- Diff:
flink-streaming-scala/src/main/scala/org/apache/flink/streaming/api/scala/StreamExecutionEnvironment.scala
---
@@ -768,6 +768,18 @@ object StreamExecutionEnvironment {
}
/**
+ * Creates a local execution environment. The local execution
environment will run the
+ * program in a multi-threaded fashion in the same JVM as the
environment was created in.
+ *
+ * @param parallelism The parallelism for the local environment.
+ * @param configuration Pass a custom configuration into the cluster.
+ */
+ def createLocalEnvironment(parallelism: Int, configuration:
Configuration):
--- End diff --
can the parallelism have a default value?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---