You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "John Roesler (Jira)" <ji...@apache.org> on 2020/01/08 16:08:00 UTC
[jira] [Resolved] (KAFKA-8868) Consider auto-generating Streams
binary protocol messages
[ https://issues.apache.org/jira/browse/KAFKA-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Roesler resolved KAFKA-8868.
---------------------------------
Resolution: Fixed
> 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
> Priority: Minor
>
> 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.4#803005)