Description
KAFKA-7609 added a way of automatically generating code for reading and writing Kafka RPC message types from JSON schemas.
Automatically generated code is preferrable to manually written serialization code.
- * It is less tedious and error-prone to use than hand-written code.
- For developers writing Kafka clients in other languages, the JSON schemas are useful in a way that the java serialization code is not.
- It will eventually be possible to automatically validate aspects of cross-version compatibility, when using JSON message schemas.
- Once all of the RPCs are converted, we can drop using Structs in favor of serializing directly to ByteBuffer, to reduce GC load.
This JIRA tracks converting the current hand-written message serialization code to automatically generated serialization.