Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2688

Avoid forcing reload of `Configuration`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • security
    • None

    Description

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

      Attachments

        Activity

          People

            ijuma Ismael Juma
            ijuma Ismael Juma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: