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

Ismael Juma commented on KAFKA-2688:
------------------------------------

Flavio, assigning this to you as I have removed the SASL code and we now only 
need to remove it from `isZkSecurityEnabled`. I hope that's OK.

> Avoid forcing reload of `Configuration`
> ---------------------------------------
>
>                 Key: KAFKA-2688
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2688
>             Project: Kafka
>          Issue Type: Bug
>          Components: security
>            Reporter: Ismael Juma
>            Assignee: Flavio Junqueira
>            Priority: Critical
>             Fix For: 0.9.0.0
>
>
> We currently call `Configuration.setConfiguration(null)` from a couple of 
> places in our codebase (`Login` and `JaasUtils`) to force `Configuration` to 
> be reloaded. If this code is removed, some tests can fail depending on the 
> test execution order.
> Ideally we would not need to call `setConfiguration(null)` outside of tests. 
> Investigate if this is possible. If not, we should at least ensure that 
> reloads are done in a safe way within our codebase (perhaps using a lock).



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

Reply via email to