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

Throw exception if users try to update configs of existent listeners

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

          def immutableListenerConfigs(kafkaConfig: KafkaConfig, prefix: String): Map[String, AnyRef] = {
            newConfig.originals.asScala.filter { case (key, _) =>
              key.startsWith(prefix) && !DynamicSecurityConfigs.contains(key)
            }
          }
      

      We don't actually compare new configs to origin configs so the suitable exception is not thrown.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chia7712 Chia-Ping Tsai
                Reporter:
                chia7712 Chia-Ping Tsai
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: