Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeTotalLag ¶
ComputeTotalLag computes the total offset lag across all partitions. For partitions missing from dst, the full source offset counts as lag.
func SortedPartitionIDs ¶
SortedPartitionIDs returns the union of partition IDs from two offset maps, sorted ascending.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides offset operations against a Kafka cluster.
func NewOffsetService ¶
NewOffsetService creates a Service backed by the given Kafka client.
Click to show internal directories.
Click to hide internal directories.