Search before asking
Motivation
Recently, I want to add an ability to skip backfill , as mentioned in #2553. However, I found myself copying the same code to each ScanFetchTask class, even though they shared the same code. These ScanFetchTask classes have a common mechanism for watermark emit and backfill task. Therefore, it would be beneficial to extract these common parts into an abstract class called AbstractScanFetcherTask.
By doing so, we promote code reusability and improve maintainability in the long run. For example, we can easily add other common functionalities such as skip backfill ability and additional hooks for testing in AbstractScanFetcherTask.
Solution
No response
Alternatives
No response
Anything else?
No response
Are you willing to submit a PR?