Skip to content
Discussion options

You must be logged in to vote

OK I have added a unit test for this, just to make sure I understood what happens. And more tests is always better. Here is the PR:

#6680

I'll try to explain what's happening.

When the serializer runs, what is MUST do is ensure that the schema it's using for serialization exists in the registry so that it can include a link to that schema in the message payload (or headers) - the link is used by consumers when deserializing. It can either register the schema itself, or it can verify that the schema exists already.

If autoRegister is configured to be true, then the serializer will extract the raw schema (e.g. the .proto file) from the generated sources and register it at the appropriate re…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by EricWittmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants