Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently, the FlinkDistribution is responsible for locating and copying the distribution for usage in tests, and contains hooks for backing up log files.
This makes the class a bit inflexible to use, as for example a FlinkResource could not create 2 distributions in separate places.
I suggest to move these responsibilities into the FlinkResource implementations, and "demote" the distribution to a simple wrapper, only providing programmatic access for mutating/interacting with the distribution.
Attachments
Issue Links
- links to