RequiredParameters in Flink 1.11

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RequiredParameters in Flink 1.11

Flavio Pompermaier
In Flink 1.11 RequiredParameters and Option have been deprecated.
Is there any recommendation in this sense (about how to get rid of deprecation warnings)?

Best,
Flavio
Reply | Threaded
Open this post in threaded view
|

Re: RequiredParameters in Flink 1.11

Chesnay Schepler
/**
 * ...
 *
 * @deprecated These classes will be dropped in the next version. Use {@link ParameterTool} or a third-party
 *             command line parsing library instead.
 */

On 13/07/2020 17:24, Flavio Pompermaier wrote:
In Flink 1.11 RequiredParameters and Option have been deprecated.
Is there any recommendation in this sense (about how to get rid of deprecation warnings)?

Best,
Flavio


Reply | Threaded
Open this post in threaded view
|

Re: RequiredParameters in Flink 1.11

Flavio Pompermaier
I've read that part but ParameterTool has no utilities to validate and type parameters. Indeed I was asking if there are suggestion about possible alternatives (e.g. Apache Commons CLI is the first that comes into my mind).

Best,
Flavio

On Mon, Jul 13, 2020 at 5:28 PM Chesnay Schepler <[hidden email]> wrote:
/**
 * ...
 *
 * @deprecated These classes will be dropped in the next version. Use {@link ParameterTool} or a third-party
 *             command line parsing library instead.
 */

On 13/07/2020 17:24, Flavio Pompermaier wrote:
In Flink 1.11 RequiredParameters and Option have been deprecated.
Is there any recommendation in this sense (about how to get rid of deprecation warnings)?

Best,
Flavio