Data added and modified in mongodb can be synchronized to ES, but when data is deleted, the deleted data is still stored in ES.
Data in mongodb:
Data in ES (cannot delete blue line data synchronously):
I don’t know how to solve the problem. It seems to be caused by a slight difference between the data synchronization for the first time and the data synchronization for the second time by mongo-connector.