pulsar-rs
pulsar-rs copied to clipboard
Schema usage
we need a new design around serialization, deserialization, that would be pluggable with Pulsar's schema interface, and the schema registry
~~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 🙃