davidradl commented on code in PR #27200:
URL: https://github.com/apache/flink/pull/27200#discussion_r2498614348
##########
flink-connectors/flink-connector-base/src/main/java/org/apache/flink/connector/base/source/hybrid/HybridSourceReader.java:
##########
@@ -252,6 +252,8 @@ private void setCurrentReader(int index) {
@Override
public void pauseOrResumeSplits(
Collection<String> splitsToPause, Collection<String>
splitsToResume) {
- currentReader.pauseOrResumeSplits(splitsToPause, splitsToResume);
+ if (currentReader != null) {
Review Comment:
if it is null, should we error?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]