The embodiments of the present disclosure disclose a
data consistency processing method and device under a micro-service architecture, a device and a medium. Based on a preset period, a plurality of groups of service data corresponding to a plurality of services are acquired from data sources of the plurality of services of a target application. Based on a preset comparison rule, the plurality of groups of service data are subjected to
data consistency comparison to determine whether there is
consistency problem data having a
consistency problem among the plurality of groups of service data. In response to the existence of the
consistency problem data, a
data consistency task of the consistency problem data is generated. Based on the data consistency task, data compensation and repair
processing is performed on the consistency problem data, which includes at least one of the following operations: updating data,
synchronizing data, and triggering an associated
business process operation. The present disclosure can flexibly and accurately determine the consistency problem data in the plurality of services through the preset comparison rule, and can quickly repair the consistency problem data.