-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Pulsar Client: restore SchemaInfo.builder() API #12673
Conversation
@codelipenghui @merlimat I would commit this to branch-2.9 before cutting the new RC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
the failed test has been fixed here #12675 |
/pulsarbot run-failure-checks |
@nicoloboschi I have rebased onto latest master |
8ef4d36
to
137b684
Compare
(cherry picked from commit 849e4dc)
(cherry picked from commit 849e4dc)
I have cherry picked this to branch-2.8 |
Fixes #12670
Motivation
In 2.8.0 we dropped SchemaInfo.builder() API and so it is no more possible to create a SchemaInfo instance without using SchemaInfoImpl internal class.
Modifications
Restore a Builder, I used Delombok in order to get the same results as before.
Unfortunately SchemaInfo is now an interface, it was a class in 2.7, so we cannot really fix the breaking change at runtime, but at least users will be able to simply rebuild their code.
Verifying this change
This change is already covered by existing tests
Does this pull request potentially affect one of the following parts:
If
yes
was chosen, please highlight the changesDocumentation
no-need-doc