kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KAFKA-4700) StreamsKafkaClient drops security configs
Date Thu, 26 Jan 2017 22:19:24 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-4700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Guozhang Wang updated KAFKA-4700:
       Resolution: Fixed
    Fix Version/s:
           Status: Resolved  (was: Patch Available)

Issue resolved by pull request 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:,
> `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

View raw message