Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/2305
It seems we are go for the `with(...)` approach.
Pending decision is whether we want `with` to be the long-run solution, or
stay with `apply`.
The reason why `DataStream` has `apply()` and `DataSet` has `with()` is
that different people wrote the API functions and everyone has their favorite
name and style that they stick to ;-)
I agree that consistency should be key in the future. The `DataStream` API
has more traction right now, and should long-term subsume the DataSet API, so I
have a slight bias to keep the DataStream style for now (many people will not
even use the `with(...)` variant because they don't set individual parallelism).
---
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.
---