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

[plugin][pulsar] Handle the SendCallback method sign changed. #715

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

dao-jun
Copy link
Member

@dao-jun dao-jun commented Aug 19, 2024

In apache/pulsar#22940, Pulsar will change the org.apache.pulsar.client.impl.SendCallback#sendComplete method sign from

public void sendComplete(Exception e)

to

public void sendComplete(Throwable t, OpSendMsgStats stats)

This PR is to address it.

@wu-sheng
Copy link
Member

Please fix CI and we need to add the new versions to the test scenarios to verify.

Also, you need to make CI passed.

@wu-sheng wu-sheng added enhancement New feature or request plugin labels Aug 20, 2024
CHANGES.md Outdated
@@ -6,6 +6,7 @@ Release Notes.
------------------

* Upgrade nats plugin to support 2.16.5
* [pulsar] Handle the SendCallback class method signature change.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* [pulsar] Handle the SendCallback class method signature change.
* Support newer Pulsar versions to adopt SendCallback class method signature change.

I can't see which versions will include this. The PR you refer to doesn't have the version information.

Copy link
Member Author

Choose a reason for hiding this comment

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

The code implementation PR: apache/pulsar#23196.
It will available in the next release.

Copy link
Member

Choose a reason for hiding this comment

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

We can't accept this PR until it is released and verified through CI tests.

We have to hold this until then.

@wu-sheng
Copy link
Member

Could you fix the CI first? Then we need to wait for Pulsar's next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants