package
0.0.0-20241030180733-b8fea86a2c62
Repository: https://github.com/sergeiionin/golang_kafka_window_utils.git
Documentation: pkg.go.dev

# Functions

Creates a new BatchBuffer with the given parameters.
Create a new TimeWindowsKafkaService with the given Kafka reader and writer, start time in milliseconds, time window size in milliseconds and capacity.

# Structs

Buffer holding batches of messages, each key is one of a discrete windowId (startMillis + n x timeWindowSizeMillis) and the value is a batch of messages received within that window.
A service which composes a new Kafka message out of the batch of messages collected within the time window.