You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/03/30 09:38:00 UTC

[jira] [Created] (KAFKA-20371) Add Iterable constructor to generated message collections

Chia-Ping Tsai created KAFKA-20371:
--------------------------------------

             Summary: Add Iterable constructor to generated message collections
                 Key: KAFKA-20371
                 URL: https://issues.apache.org/jira/browse/KAFKA-20371
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


The new constructor will enable us to use "List.of()" instead of "List.of().iterator()".

This new constructor will simply extract the iterator and pass it to the parent class (i.e., super(iterable.iterator())).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)