aljoscha commented on a change in pull request #13944:
URL: https://github.com/apache/flink/pull/13944#discussion_r518750710
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/LocalStreamEnvironment.java
##########
@@ -66,6 +66,9 @@ private static Configuration
validateAndGetConfiguration(final Configuration con
final Configuration effectiveConfiguration = new
Configuration(checkNotNull(configuration));
effectiveConfiguration.set(DeploymentOptions.TARGET, "local");
effectiveConfiguration.set(DeploymentOptions.ATTACHED, true);
+ if
(!configuration.getOptional(CoreOptions.DEFAULT_PARALLELISM).isPresent()) {
Review comment:
It should be fine to simplify it. 👌
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]