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

Ismael Juma commented on KAFKA-2472:
------------------------------------

I did a quick spike:

* Introduced a `Config` interface with the `get*` methods
* Changed `Configurable.configure` to take the `Config` interface
* Introduced `SimpleConfig` that just wraps a `Map<String, ?>` for tests and 
code that doesn't use a `ConfigDef`
* Adapted all the code so that it compiles
* Ran the tests

It looks promising. There were some test failures, I investigated one and it 
was due to a genuine bug in trunk (there is no `define` for 
KafkaConfig.SSLEndpointIdentificationAlgorithmProp in the broker).

Thoughts?


> Fix kafka ssl configs to not throw warnings
> -------------------------------------------
>
>                 Key: KAFKA-2472
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2472
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Sriharsha Chintalapani
>            Assignee: Ismael Juma
>             Fix For: 0.9.0.0
>
>
> This is a follow-up fix on kafka-1690.
> [2015-08-25 18:20:48,236] WARN The configuration ssl.truststore.password = 
> striker was supplied but isn't a known config. 
> (org.apache.kafka.clients.producer.ProducerConfig)
> [2015-08-25 18:20:48,236] WARN The configuration security.protocol = SSL was 
> supplied but isn't a known config. 
> (org.apache.kafka.clients.producer.ProducerConfig)



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

Reply via email to