orchestrator/kafka: bump kadm to 1.17.1
Some checks failed
CI / 🤖 Check dependabot status (push) Has been cancelled
CI / 🐧 Test on Linux (${{ github.ref_type == 'tag' }}, misc) (push) Has been cancelled
CI / 🐧 Test on Linux (coverage) (push) Has been cancelled
CI / 🐧 Test on Linux (regular) (push) Has been cancelled
CI / ❄️ Build on Nix (push) Has been cancelled
CI / 🍏 Build and test on macOS (push) Has been cancelled
CI / 🧪 End-to-end testing (push) Has been cancelled
CI / 🔍 Upload code coverage (push) Has been cancelled
CI / 🔬 Test only Go (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 20) (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 22) (push) Has been cancelled
CI / 🔬 Test only JS (${{ needs.dependabot.outputs.package-ecosystem }}, 24) (push) Has been cancelled
CI / ⚖️ Check licenses (push) Has been cancelled
CI / 🐋 Build Docker images (push) Has been cancelled
CI / 🐋 Tag Docker images (push) Has been cancelled
CI / 🚀 Publish release (push) Has been cancelled
Update Nix dependency hashes / Update dependency hashes (push) Has been cancelled

And revert usage of ForceMetadataRefresh(), not needed anymore.
This commit is contained in:
Vincent Bernat
2025-10-22 20:29:54 +02:00
parent 4390c89c52
commit 589a79972b
4 changed files with 6 additions and 11 deletions

View File

@@ -82,7 +82,6 @@ func (c *Component) Start() error {
return fmt.Errorf("unable to create topic %q: %w", c.kafkaTopic, err)
}
l.Info().Msg("topic created")
client.ForceMetadataRefresh()
} else {
nbPartitions := len(topic.Partitions)
if nbPartitions > int(c.config.TopicConfiguration.NumPartitions) {
@@ -96,7 +95,6 @@ func (c *Component) Start() error {
c.kafkaTopic, err)
}
l.Info().Msg("number of partitions increased")
client.ForceMetadataRefresh()
}
if int(c.config.TopicConfiguration.ReplicationFactor) != topic.Partitions.NumReplicas() {
// TODO: https://github.com/deviceinsight/kafkactl/blob/main/internal/topic/topic-operation.go
@@ -138,7 +136,6 @@ func (c *Component) Start() error {
c.kafkaTopic, err)
}
l.Info().Msg("topic updated")
client.ForceMetadataRefresh()
}
}
return nil