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

kgo: ignore aborted txns if using READ_UNCOMMITTED #758

Merged
merged 2 commits into from
Jun 8, 2024
Merged

Conversation

twmb
Copy link
Owner

@twmb twmb commented Jun 8, 2024

Kafka does not return AbortedTransactions in the fetch response if the
client is using read uncommitted, so kgo works perfectly against Kafka.
Redpanda DOES return AbortedTransactions (today, although this is being
changed) even if the client is using READ_UNCOMMITTED, which causes
records to be skipped. Redpanda is changing, but we can address this in
kgo as well.

twmb added 2 commits June 8, 2024 16:47
This is a library; it is on upstream users to bump deps. Having
vulnchecks here is ... semi valuable, but currently noisy with an
unfixable dep.
Kafka does not return AbortedTransactions in the fetch response if the
client is using read uncommitted, so kgo works perfectly against Kafka.
Redpanda DOES return AbortedTransactions (today, although this is being
changed) even if the client is using READ_UNCOMMITTED, which causes
records to be skipped. Redpanda is changing, but we can address this in
kgo as well.
@twmb twmb merged commit 40589af into master Jun 8, 2024
8 checks passed
@twmb twmb deleted the isolation_level branch June 8, 2024 22:52
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

Successfully merging this pull request may close these issues.

1 participant