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

ASF GitHub Bot commented on KAFKA-4700:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2441


> StreamsKafkaClient drops security configs
> -----------------------------------------
>
>                 Key: KAFKA-4700
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4700
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ismael Juma
>            Assignee: Ismael Juma
>            Priority: Critical
>             Fix For: 0.10.2.0, 0.10.3.0
>
>
> `StreamsKafkaClient` takes a `StreamsConfig` and calls `values` on it to 
> create a `ChannelBuilder`. `values` creates a `Map` with parsed values for 
> _defined_ config names. `StreamsConfig` doesn't define security settings 
> itself and hence the security configs are dropped.
> For `KafkaProducer` and `KafkaConsumer` used by Streams, there is some code 
> that gets the original configs (using `originals` instead of `values`) and 
> passes them to the `KafkaConsumer` and `KafkaProducer` constructors (both of 
> which define the security configs).
> The suggested solution is to create a config definition for 
> `StreamsKafkaClient` thas includes a copy of the `StreamsConfig` definition 
> combined with the security configs definitions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to