You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jason Gustafson (JIRA)" <ji...@apache.org> on 2019/05/15 18:24:00 UTC

[jira] [Created] (KAFKA-8369) Generate an immutable Map view for generated messages with a map key

Jason Gustafson created KAFKA-8369:
--------------------------------------

             Summary: Generate an immutable Map view for generated messages with a map key
                 Key: KAFKA-8369
                 URL: https://issues.apache.org/jira/browse/KAFKA-8369
             Project: Kafka
          Issue Type: Improvement
            Reporter: Jason Gustafson


When using the "mapKey" feature, we get an ImplicitLinkedHashCollection which can be used like a map using the `find()` API. The benefit of this is hopefully avoiding a conversion to another type when handled by the broker, but it is a little cumbersome to work with, so we often end up doing the conversion anyway. One improvement would be to provide a way to convert this collection to an immutable Map view so that it is easier to work with directly.



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