revert(sync): 使用checkpoint lock报障message id上报的时候状态稳定
会导致部分hudi表checkpoint时间超长
This reverts commit f0a6dbbb
This commit is contained in:
@@ -123,7 +123,6 @@ public class PulsarMessageSourceReader extends RichParallelSourceFunction<String
|
||||
.create()) {
|
||||
String currentValue = null;
|
||||
while (running) {
|
||||
synchronized (context.getCheckpointLock()) {
|
||||
Message<String> message;
|
||||
try {
|
||||
message = reader.readNext();
|
||||
@@ -156,10 +155,6 @@ public class PulsarMessageSourceReader extends RichParallelSourceFunction<String
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Throwable exception) {
|
||||
logger.error(StrUtil.format("Any error ({})", tableMeta.getAlias()), exception);
|
||||
throw exception;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user