elastic / elastic/apm-queue

kafka: TopicCreator.CreateTopics performs unnecessary topic updates

Open
#331 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9
Forks
19
PR merge metrics
No merged PRs in 30d

Description

https://github.com/elastic/apm-queue/blob/2261b83425412f66469e5a732fffcf8f95422d7c/kafka/topiccreator.go#L210-L217

As soon as a topic has been created, this code will always trigger an AlterTopicConfigs if there are any topic configs defined. This creates unnecessary API calls to Kafka, and creates log spam.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.