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: allow record ctx cancelation to propagate a bit more #792

Merged
merged 2 commits into from
Jul 29, 2024
Merged

kgo: allow record ctx cancelation to propagate a bit more #792

merged 2 commits into from
Jul 29, 2024

Conversation

twmb
Copy link
Owner

@twmb twmb commented Jul 29, 2024

If a record's context is canceled, we now allow it to be failed in two
more locations:

  • while the producer ID is loading -- we can actually now cancel the
    producer ID loading request (which may also benefit people using
    transactions that want to force quit the client)

  • while a sink is backing off due to request failures

For people using transactions, canceling a context now allows you to
force quit in more areas, but the same caveat applies: your client will
likely end up in an invalid transactional state and be unable to
continue.

For #769.

@twmb twmb changed the title 769 kgo: allow record ctx cancelation to propagate a bit more Jul 29, 2024
twmb added 2 commits July 28, 2024 22:42
If a record's context is canceled, we now allow it to be failed in two
more locations:

* while the producer ID is loading -- we can actually now cancel the
  producer ID loading request (which may also benefit people using
  transactions that want to force quit the client)

* while a sink is backing off due to request failures

For people using transactions, canceling a context now allows you to
force quit in more areas, but the same caveat applies: your client will
likely end up in an invalid transactional state and be unable to
continue.

For #769.
@twmb twmb added the patch label Jul 29, 2024
@twmb twmb merged commit afcb32b into master Jul 29, 2024
8 checks passed
@twmb twmb deleted the 769 branch July 29, 2024 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant