It would be the `WebMonitorEndpoint` task to do so. The contract would be that 
the `WebMonitorEndpoint` is responsible for managing this executor.

In general, it is a good idea to not create things in the constructor of a 
component, because it makes it really hard to reuse it in a different 
environment. Instead, it is imo better to pass in instances of some interface. 
That way, we don't couple components.

Even if we don't use it for testing right now, we should not remove 
functionality which allowed it in the first place.

[ Full content available at: https://github.com/apache/flink/pull/6786 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to