mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
process()方法中,在retry循环中处理成功应该break (#3080)
process()方法中,在retry循环中处理成功应该break
This commit is contained in:
@@ -211,6 +211,7 @@ public class AdapterProcessor {
|
||||
canalDestination,
|
||||
System.currentTimeMillis() - begin);
|
||||
}
|
||||
break;
|
||||
} catch (Exception e) {
|
||||
if (i != retry - 1) {
|
||||
canalMsgConsumer.rollback(); // 处理失败, 回滚数据
|
||||
|
||||
Reference in New Issue
Block a user