Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion for INSERT operation "Ignoring EXTERNAL version conflict for operation INDEX on document" #709

Open
ramyogi7283 opened this issue Jul 24, 2023 · 0 comments

Comments

@ramyogi7283
Copy link

ramyogi7283 commented Jul 24, 2023

Any suggestion can be provide to resolve the
Ignoring EXTERNAL version conflict for operation INDEX on document

Whether Kafka level or connector level ?

write.method=UPSERT works find for not sending version external. But as per the code. DELETE still sends version so it is causing the DELETE ignoring issue. when record value NULL. I am confused this logic. How to avoid DELETE with EXTERNAL version send and if change UPSERT then again index or updating documents causing issue.

final String id = config.shouldIgnoreKey(record.topic())
? String.format("%s+%d+%d", record.topic(), record.kafkaPartition(), record.kafkaOffset())
: convertKey(record.keySchema(), record.key());

// delete
if (record.value() == null) {
return maybeAddExternalVersioning(new DeleteRequest(index).id(id), record);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant