Github user StephanEwen commented on the pull request:
https://github.com/apache/flink/pull/872#issuecomment-116649358
In the batch API, equality of the partitioners is used to determine
compatibility of the partitioning. This may at some point become interesting
for the streaming API as well.
In any case, let's pick one of the two variants (function of partitioner
implementation). Overloading the methods too much with equally powerful
variants inevitable confuses users.
---
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.
---