# What is the best way to detect inconsistency between elasticsearch with another authorized data store

**URL:** <https://discuss.elastic.co/t/what-is-the-best-way-to-detect-inconsistency-between-elasticsearch-with-another-authorized-data-store/343009>\
**Category:** Elasticsearch\
**Created:** [September 14, 2023, 5:11am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-detect-inconsistency-between-elasticsearch-with-another-authorized-data-store/343009 "2023-09-14T05:11:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zouyang](https://avatars.discourse-cdn.com/v4/letter/z/ac8455/32.png) [@zouyang](https://discuss.elastic.co/u/zouyang)\
**Post date:** [September 14, 2023, 5:11am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-detect-inconsistency-between-elasticsearch-with-another-authorized-data-store/343009/1 "2023-09-14T05:11:37Z")

</div>

Hi,

Our system uses dynamoDB as the data store and sync the data to elasticsearch with kafka.

In case there are any data loss due to the failure of any part of the system, we would have inconsistency between dynamo and elasticsearch. In order to detect this situation, what would be the best recommended way to do it?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 12, 2023, 5:12am UTC](https://discuss.elastic.co/t/what-is-the-best-way-to-detect-inconsistency-between-elasticsearch-with-another-authorized-data-store/343009/2 "2023-10-12T05:12:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
