feat(REQ-3004) - 优化 ES 同步的逻辑

This commit is contained in:
wangli 2024-11-21 11:36:35 +08:00
parent f926bf02dd
commit de8da186a9

View File

@ -75,9 +75,9 @@ public class ElasticSearchBatchSyncListener {
if (support(event)) {
String processInstanceId = event.normalizedData(String.class);
idSet.add(processInstanceId);
log.info("batch sync es processIds: {}", processInstanceId);
}
}
log.warn("deduplication ids size: {}", idSet.size());
idSet.forEach(this::sync);
} catch (Exception e) {
return ConsumeConcurrentlyStatus.RECONSUME_LATER;