Skip to content

Commit

Permalink
[FLINK-31748] Dummy implementation to fix compilation failure (apache#43
Browse files Browse the repository at this point in the history
)

Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun authored Apr 25, 2023
1 parent e0de157 commit bbb636a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class PulsarSourceFetcherManager
* Creates a new SplitFetcherManager with multiple I/O threads.
*
* @param elementsQueue The queue that is used to hand over data from the I/O thread (the
* fetchers) to the reader (which emits the records and book-keeps the state. This must be
* fetchers) to the reader, which emits the records and book-keeps the state. This must be
* the same queue instance that is also passed to the {@link SourceReaderBase}.
* @param splitReaderSupplier The factory for the split reader that connects to the source
*/
Expand All @@ -86,6 +86,11 @@ public void addSplits(List<PulsarPartitionSplit> splitsToAdd) {
}
}

// @Override // to keep compatible with Flink 1.17
public void removeSplits(List<PulsarPartitionSplit> splitsToRemove) {
// TODO empty - wait for FLINK-31748 to implement it.
}

@Override
protected void startFetcher(SplitFetcher<Message<byte[]>, PulsarPartitionSplit> fetcher) {
if (fetcherStatus.get(fetcher.fetcherId()) != Boolean.TRUE) {
Expand Down

0 comments on commit bbb636a

Please sign in to comment.