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

Kafka auto-commit on failed index events #343

Open
cdenneen opened this issue Feb 10, 2023 · 0 comments
Open

Kafka auto-commit on failed index events #343

cdenneen opened this issue Feb 10, 2023 · 0 comments
Labels

Comments

@cdenneen
Copy link

Currently if my kafka input tries to send the event to Elasticsearch/OpenSearch and it fails (in my recent scenario the write index alias was missing) the events during that time appear to be "dropped on the floor" but the consumer group offset doesn't account for them after the alias was fixed.

After the alias was fixed all new events have ingested properly.
However the 15 hour window when the alias wasn't working for indexing those events haven't been ingested.

Need way to track those items so they can sync. Changing the consumer to offset of earliest from latest would involve a lot of duplicate events so that isn't an option.

The commit to ZK should account for the fact that the event wasn't successfully indexed.

@cdenneen cdenneen added the bug label Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant