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

AlterConfigs in KRaft does not generate records for unchanged values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.3.0, 3.4.0, 3.2.3
    • kraft
    • None

    Description

      In ZK, when handling LegacyAlterConfigs or IncrementalAlterConfigs, we call certain code paths regardless of what values are included in the request. We utilize this behavior to force a broker to reload a keystore or truststore from disk (we sent an AlterConfig with the keystore path unchanged).

      In KRaft, however, we have an optimization to only generate ConfigRecords if the incoming AtlerConfig request will result in actual config changes. This means the broker never receives any records for "no-op" config changes and we cannot trigger certain code paths.

      Attachments

        Issue Links

          Activity

            People

              mumrah David Arthur
              mumrah David Arthur
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: