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

Rationalize configurations passed to pluggable APIs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      There are a lot of extensions points both on the client and server sides. Most of these pluggable APIs are configurable but the configurations they receive are not the same.

      For example, Serializers, Deserializers, Partitioners, Assignors, QuotaCallbacks are passed config.originals(). On the other hand LoginModules, PrincipalBuilders and AuthenticationCallbackHandlers are passed config.values().

      In practice, having access to originals() is nice as it allows to use custom configurations by simply adding it to the client/server configuration.

      Attachments

        Issue Links

          Activity

            People

              mimaison Mickael Maison
              mimaison Mickael Maison
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: