kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Weiler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-8593) Provide a JSON Array Serde for serializing a List to a JSON Array and vice versa
Date Mon, 24 Jun 2019 15:56:00 GMT
Oliver Weiler created KAFKA-8593:
------------------------------------

             Summary: Provide a JSON Array Serde for serializing a List to a JSON Array and
vice versa
                 Key: KAFKA-8593
                 URL: https://issues.apache.org/jira/browse/KAFKA-8593
             Project: Kafka
          Issue Type: New Feature
          Components: core
            Reporter: Oliver Weiler


When aggregating streams you often group several values by a key.

Because the JSON Serializer/Deserializer pair only supports Java objects and arrays, this
leads to ugly code when working with lists, because you have to convert from / to an array
or wrap the list in an object.

 

I propose a JSON array serializer/deserializer for that use case.

A basic Implementation can be found here: https://github.com/helpermethod/spring-kafka/commit/ac02464daf57dd6461bd30b6440e125dc2509ae7

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message