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

[improve][broker] Propagate cause exception in TopicBusyException when applicable #22596

Merged

Conversation

lhotari
Copy link
Member

@lhotari lhotari commented Apr 26, 2024

Motivation

When topic is closing and throws an exception, the exception isn't logged and it's swallowed.
It's better to propagate the cause in TopicBusyException in these cases.

Modifications

  • Add support for cause exception to TopicBusyException
  • Propagate the cause when closing throws an exception

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added type/cleanup Code or doc cleanups e.g. remove the outdated documentation or remove the code no longer in use release/3.1.4 release/3.2.3 release/3.0.5 labels Apr 26, 2024
@lhotari lhotari added this to the 3.3.0 milestone Apr 26, 2024
@lhotari lhotari self-assigned this Apr 26, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 26, 2024
Copy link
Member

@dao-jun dao-jun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@lhotari lhotari merged commit 3b9602c into apache:master Apr 26, 2024
57 of 59 checks passed
lhotari added a commit that referenced this pull request Apr 26, 2024
lhotari added a commit that referenced this pull request Apr 26, 2024
lhotari added a commit that referenced this pull request Apr 26, 2024
lhotari added a commit that referenced this pull request Apr 26, 2024
nikhil-ctds pushed a commit to datastax/pulsar that referenced this pull request May 13, 2024
…n applicable (apache#22596)

(cherry picked from commit 3b9602c)
(cherry picked from commit d00d715)
srinath-ctds pushed a commit to datastax/pulsar that referenced this pull request May 16, 2024
…n applicable (apache#22596)

(cherry picked from commit 3b9602c)
(cherry picked from commit d00d715)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants