Optionaly return schema id together with decoded message#3
Optionaly return schema id together with decoded message#3michaelr524 wants to merge 3 commits intoverisign:masterfrom
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.