Skip to content

Investigate whether client.ForceMetadataRefresh() is necessary #318

@marclop

Description

@marclop

When constructing the common Kafka client, a call to the ForceMetadataRefresh method is issued. It may not be necessary to do so, since the kgo.Client will issue a call to that method when it needs to.

apm-queue/kafka/common.go

Lines 294 to 295 in 8c6a813

// Issue a metadata refresh request on construction, so the broker list is populated.
client.ForceMetadataRefresh()

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions