Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Implemented
-
None
-
None
-
None
Description
The separation between registerInputOutput and invoke in AbstractInvokable is an artifact of previous Flink versions. The registerInputOutput method used to trigger the creation of input and output gates. This has become obsolete as the task itself takes care of this now and registerInputOutput only requests the input/output gates.
The contract of having a single invoke method, which cleans up after itself is easier to implement than applying it to two methods.