Uploaded image for project: 'Managed Service - Streams'
  1. Managed Service - Streams
  2. MGDSTRM-9258

Remove default setting for topic config policy in kas-broker-plugin

XMLWordPrintable

    • MK - Sprint 226

      WHAT

      In MGDSTRM-9192, we added custom topic config policy settings to broker config in fleetshard. We should remove the default settings in kas-broker-plugin, and also the min.insync.replicas validation. The default setting currently is:

      kas.policy.create-topic.partition-limit-enforced false
      kas.policy.topic-config.enforced "flush.ms:9223372036854775807,index.interval.bytes:4096,compression.type:producer,flush.messages:9223372036854775807,segment.jitter.ms:0,min.cleanable.dirty.ratio:0.5,file.delete.delay.ms:60000,segment.index.bytes:10485760,preallocate:false,unclean.leader.election.enable:false"
      kas.policy.topic-config.mutable "message.timestamp.difference.max.ms,message.timestamp.type,retention.bytes,min.compaction.lag.ms,cleanup.policy,max.compaction.lag.ms,delete.retention.ms,message.downconversion.enable"
      kas.policy.topic-config.range "max.message.bytes::1048588,segment.bytes:52428800:,segment.ms:600000:"

       

       

      WHY

      These configs will be added via fleetshard in MGDSTRM-9192

      DONE

      1. Make the default as below:
        kas.policy.create-topic.partition-limit-enforced false
        kas.policy.topic-config.enforced []
        kas.policy.topic-config.mutable []
        kas.policy.topic-config.range []

      Since `kas.policy.create-topic.partition-limit-enforced` is default to `false`, there's no change to users

      2. remove min.insync.replicas validation in kas-broker-plugin

              lukchen@redhat.com Luke Chen
              lukchen@redhat.com Luke Chen
              Kafka Integrations
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: