-
Notifications
You must be signed in to change notification settings - Fork 41
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
Optionaly return schema id together with decoded message #3
base: master
Are you sure you want to change the base?
Conversation
LGTM. Deferring to @stevemil00 or @sean to accept. |
@michaelr524 could you give a bit more detailed example of the use case you're describing? I'm having trouble thinking offhand of a case where that'd be all that useful, and I can't tell whether or not that just means I need more caffeine... :) |
@stevemil00 we have a spark-streaming job consuming a kafka topi, transforming the messages and writes them back to another kafka topic. |
@stevemil00 : I don't have admin permissions anymore either (I left the GH org) so I can't help you out in the meantime. |
That said, you might want to ensure there are updated unit tests for this new functionality (see e.g. https://github.com/verisign/python-confluent-schemaregistry/blob/master/test/test_message_serializer.py). I'd say this is important because the return type of |
Useful for changing the record and encoding back using the same schema.