John Roesler created KAFKA-8868:
-----------------------------------

             Summary: Consider auto-generating Streams binary protocol messages
                 Key: KAFKA-8868
                 URL: https://issues.apache.org/jira/browse/KAFKA-8868
             Project: Kafka
          Issue Type: Improvement
          Components: streams
            Reporter: John Roesler
            Assignee: John Roesler


Rather than maintain hand coded protocol serialization code, Streams could use 
the same code-generation framework as Clients/Core.

There isn't a perfect match, since the code generation framework includes an 
assumption that you're generating "protocol messages", rather than just 
arbitrary blobs, but I think it's close enough to justify using it, and 
improving it over time.

Using the code generation allows us to drop a lot of detail-oriented, brittle, 
and hard-to-maintain serialization logic in favor of a schema spec.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to