Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8593

Provide a JSON Array Serde for serializing a List to a JSON Array and vice versa

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • core
    • None

    Description

      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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            oweiler Oliver Weiler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: