nicusX commented on code in PR #28863: URL: https://github.com/apache/flink/pull/28863#discussion_r3851547088
########## docs/content/docs/concepts/glossary.md: ########## @@ -238,7 +238,8 @@ A Key Group is the atomic unit of key distribution and state assignment across p `keyGroupIndex = MathUtils.murmurHash(key.hashCode()) % maxParallelism`. This allows stateful [Operators](#operator) to rescale without rehashing individual keys. -The total number of Key Groups is equal to the [Operator](#operator)'s `maxParallelism`. +The total number of Key Groups is equal to the `maxParallelism` configuration, set at [Job](#flink-job) +level or overridden at [Operator](#operator) level. Review Comment: You definitely can, but I honestly never used it :) I guess it may be useful when you expect that an operator will have parallelism which is very different from the rest of the job, and you want to minimize the overhead given by an high maxParallelism where not needed -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
