redpanda-data / redpanda

Redpanda is a streaming data platform for developers. Kafka API compatible. 10x faster. No ZooKeeper. No JVM!
https://redpanda.com
9.12k stars 556 forks source link

golang SDK: Introduce serde opts for subject auto(ish)-creation #19823

Closed oleiman closed 1 week ago

oleiman commented 2 weeks ago

Includes unit tests.

The primary purpose here is to generate a correct subject name based on user-provided info:

Users may include a nameless function, parameterized by the derived subject name, where they can perform the actual creation of the subject version in SR. The idea here is to keep Serde[T] more ore less decoupled from the particular schema it's working on.

Closes CORE-3123

Backports Required

Release Notes

Improvements