You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ryanne Dolan (JIRA)" <ji...@apache.org> on 2018/11/28 01:57:00 UTC

[jira] [Commented] (KAFKA-7683) Support ConfigDef.Type.MAP

    [ https://issues.apache.org/jira/browse/KAFKA-7683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16701291#comment-16701291 ] 

Ryanne Dolan commented on KAFKA-7683:
-------------------------------------

You can use originalsWithPrefix() to get back a map from properties like:

 
{code:java}
foo.a=1
foo.b=2
foo.c=3
{code}
which IMO is much nicer than foo=a=1;b=2;c=3

> Support ConfigDef.Type.MAP
> --------------------------
>
>                 Key: KAFKA-7683
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7683
>             Project: Kafka
>          Issue Type: Improvement
>          Components: clients
>            Reporter: Paul Czajka
>            Priority: Minor
>
> Support ConfigDef.Type.MAP which will parse a string value (e.g. "a=1;b=2;c=3") into a HashMap<String, String>.



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