Repository navigation
Conversation
dlg99
reviewed
May 4, 2021
| Objects.requireNonNull(schemaVersion); | ||
| if (schemaInfoProvider == null) { | ||
| // this schema is not downloaded from the registry | ||
| return this; |
There was a problem hiding this comment.
do we care about supportSchemaVersioning() == false and/or schemaVersion equality in this case? Can we have compatible schema, i.e. v.2 is a good enough schema to read messages when v.1 is requested?
Owner
Author
There was a problem hiding this comment.
This is the case in which you have a static Schema (Consumer consumer = client.newConsumer(Schema.AVRO(MyPojo.class)), so it is not possible to use the SchemaRegistry and anyway the message is decoded using this static schema.
I am not sure it is worth to add more constraints here in this point.
if I add some other assertion here that case won't work, because the Schema that you pass to the Consumer does not have a "version".
Owner
Author
|
Superseded by official PR |
eolivelli
pushed a commit
that referenced
this pull request
Dec 17, 2021
* [Issue 9728] Upgrade GRPC and bookkeeper (apache#9729) * Upgraded bookkeeper to 4.13.0; grpc to 1.33 Fixes apache#10937 *Motivation* The previours bk version was introduce an incompatible issue with BouncyCastle FIPS. BookKeeper already fix this and we should upgrade the version to resolve the issue. For more information: apache#10937 *Modifications* * Upgrade to BookKeeper 4.14.3 (apache#12760) * Fixed additional post-cherry-pick conflicts Co-authored-by: hangc0276 <[email protected]> Co-authored-by: chenhang <[email protected]> Co-authored-by: Yong Zhang <[email protected]> Co-authored-by: Matteo Merli <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
getSchematogetSchemaInternalThe schema returned by Message.getSchema has these properties: