MCPcopy
hub / github.com/grafana/tempo / NewPartitionOffsetClient

Function NewPartitionOffsetClient

pkg/ingest/partition_offset_client.go:29–34  ·  view source on GitHub ↗
(client *kgo.Client, topic string)

Source from the content-addressed store, hash-verified

27}
28
29func NewPartitionOffsetClient(client *kgo.Client, topic string) *PartitionOffsetClient {
30 return &PartitionOffsetClient{
31 client: client,
32 topic: topic,
33 }
34}
35
36// FetchPartitionsLastProducedOffsets fetches and returns the last produced offsets for all input partitions. The returned offsets for each partition
37// are guaranteed to be always updated (no stale or cached offsets returned).

Callers 4

startingMethod · 0.92
startingMethod · 0.92

Calls

no outgoing calls