beliefer commented on code in PR #26277:
URL: https://github.com/apache/flink/pull/26277#discussion_r1992991164


##########
docs/content/docs/dev/datastream/execution/execution_configuration.md:
##########
@@ -51,7 +51,7 @@ The following configuration options are available: (the 
default is bold)
 With the closure cleaner disabled, it might happen that an anonymous user 
function is referencing the surrounding class, which is usually not 
Serializable. This will lead to exceptions by the serializer. The settings are:
 `NONE`: disable the closure cleaner completely, `TOP_LEVEL`: clean only the 
top-level class without recursing into fields, `RECURSIVE`: clean all the 
fields recursively.
 
-- `getParallelism()` / `setParallelism(int parallelism)` Set the default 
parallelism for the job.
+- `getParallelism()` / `setParallelism(int parallelism)` Set the default 
parallelism for the job. There are two special cases. In the first case, when 
creating a StreamExecutioneEnvironment without specifying parallelism.default, 
the number of processors available to the Java virtual machine will be used. In 
the second case, when creating mini cluster without specifying 
parallelism.default, the total number of slots in mini cluster will be used.

Review Comment:
   According to the original comment, users understand the parallelism will be 
1 if it is not explicitly set. Users confused if they find more parallelism to 
be used.



-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to