Closed arghaffari closed 5 days ago
Hello @arghaffari thanks for reporting the issue. Did you test the connection using other destination to validate the error is happening to ElasticSearch?
Hi @marcosmarxm, after then I checked it out with different destinations, and each time the problem remained, so this issue is not about Elasticsearch but about the way Airbyte handles the incremental syncs, so I think it doesn't retain the last state of the chosen attribute for the next time.
Can you check the state after a sync in the Settings tab in the Connection page? This can help understand if your custom connector is saving the state correctly
@marcosmarxm It's empty, do you have any opinion?
At Airbyte, we seek to be clear about the project priorities and roadmap. This issue has not had any activity for 180 days, suggesting that it's not as critical as others. It's possible it has already been fixed. It is being marked as stale and will be closed in 20 days if there is no activity. To keep it open, please comment to let us know why it is important to you and if it is still reproducible on recent versions of Airbyte.
This issue was closed because it has been inactive for 20 days since being marked as stale.
Connector Name
destination-elasticsearch
Connector Version
0.50.34
What step the error happened?
During the sync
Relevant information
I am using Airbyte's Connector Builder to fetch data from an API and write it to Elasticsearch. Despite setting the sync mode to 'incremental append', each sync results in duplicate data being written to Elasticsearch. This issue is occurring consistently.
Data Sample:
YAML Configuration:
Expected Behavior: The expectation with the 'incremental append' sync mode is that only new or updated records since the last sync will be written to Elasticsearch, avoiding duplicates.
Actual Behavior: The connector is writing duplicate records in each sync, regardless of whether they are new or have been updated since the last sync.
Steps to Reproduce:
Set up the connector using the provided YAML configuration. Run a sync in 'incremental append' mode. Observe that duplicate data is written to Elasticsearch.
Relevant log output
Contribute