kafka-dev mailing list archives

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

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

Ismael Juma updated KAFKA-4700:
-------------------------------
    Status: Patch Available  (was: Open)

> 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
>
>
> `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)

Mime
View raw message