Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

kafka offset tracking should run in separate goroutine to consumer #1113

@woodsaj

Description

@woodsaj

https://github.com/grafana/metrictank/blob/master/input/kafkamdm/kafkamdm.go#L312-L326

If consuming a message blocks (eg due to the index being locked or writeQueue is full), then we dont consume from the ticker until after we become unblocked. This can leave us with long periods with no insight into how far behind an MT node is falling behind.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions