Hi, I think that is not directly supported. After all, the main method can also be executed outside of a JobManager and there you don't have any Flink context/connections/components set up.
Best, Dawid On 08/07/2021 00:12, Mason Chen wrote: > Hi all, > > Does Flink support reporting metrics from the main method that is ran on the > Job Manager? In this case, we want to report a failure to add an operator to > the Job Graph. > > Best, > Mason
OpenPGP_signature
Description: OpenPGP digital signature