I think this encourages bad descissions. Lets just have people define repeated fields in thrift,avro,json, protobuf. Its gonna look nasty if you got your 11th layer of lists.
If you really want to add lists, please do Map aswell in 1 shot Best Jan On 06.05.2019 17:59, Daniyar Yeralin (JIRA) wrote: > Daniyar Yeralin created KAFKA-8326: > -------------------------------------- > > Summary: Add List<T> Serde > Key: KAFKA-8326 > URL: https://issues.apache.org/jira/browse/KAFKA-8326 > Project: Kafka > Issue Type: Improvement > Components: clients, streams > Reporter: Daniyar Yeralin > > > I propose adding serializers and deserializers for the java.util.List class. > > I have many use cases where I want to set the key of a Kafka message to be a > UUID. Currently, I need to turn UUIDs into strings or byte arrays and use > their associated Serdes, but it would be more convenient to serialize and > deserialize UUIDs directly. > > I believe there are many use cases where one would want to have a List serde. > Ex. > [https://stackoverflow.com/questions/41427174/aggregate-java-objects-in-a-list-with-kafka-streams-dsl-windows], > > [https://stackoverflow.com/questions/46365884/issue-with-arraylist-serde-in-kafka-streams-api] > > > > KIP Link: > [https://cwiki.apache.org/confluence/display/KAFKA/KIP-466%3A+Add+support+for+List%3CT%3E+serialization+and+deserialization] > > > > -- > This message was sent by Atlassian JIRA > (v7.6.3#76005) >