Question Regarding Kafka Producer Using Schema Registry and Protobuf Serialization

I apologize if this is against the rules but I posted a question in Github and am trying to understand the general process of using a Producer (GoLang confluent-kafka-go) and Schema Registry for protobuf use case.

I haven’t got a response yet from anyone on github, trying here to see if anyone can help. here is the GitHub issue with all the details:

For the benefit of future readers of this post, here is an answer that was posted on Github.