After going through several lectures on schema registry and looking into how it works, I am more confused than before.
I would like to understand how can I include a schema registry in my kafka project where locally we have some producers and some consumers that deal with corresponding consumers/producers of a remote server.
If I understood correctly, the producer posts the schemaId of my avroFile (that has a version of this current schema) into schema registry and uploads some topic on the kafka queue with the schemaID in the payload header.
After that, the consumer will read from the queue, the topic that has the same schemaId (by invoking an API?) and the topic will be consumed.
Did I understand it right? Could you explain it to me, maybe with a diagram schema?
Thanks very much. Stefano