pulsar-rs icon indicating copy to clipboard operation
pulsar-rs copied to clipboard

Schema usage

Open Geal opened this issue 3 years ago • 1 comments

we need a new design around serialization, deserialization, that would be pluggable with Pulsar's schema interface, and the schema registry

Geal avatar Mar 09 '21 09:03 Geal

~~Does this mean that it is not possible to usage Pulsar schemas at the moment?~~

~~I tried to make an example of publishing a message with a given schema but I did not manage to make it work. Either the first message is rejected (because my schema is not OK, I guess) or it is published successful but the second message fails (??).~~

Edit: Never mind, I made it work. It was 100% my fault: I was mixing up Avro and JSON schema specs in my definition. I guess pulsar-rs deserves an example that uses a record schema; I would do it myself but I am not sure I know the best practices yet since I made it work for the first time 20 minutes ago 🙃

dsferruzza avatar Nov 21 '21 13:11 dsferruzza