track offset

This commit is contained in:
chrislu
2024-05-20 09:33:37 -07:00
parent 2b07a40da5
commit d8ab22012a
9 changed files with 215 additions and 183 deletions

View File

@@ -22,7 +22,8 @@ type ContentConfiguration struct {
}
type ProcessorConfiguration struct {
ConcurrentPartitionLimit int32 // how many partitions to process concurrently
MaxPartitionCount int32 // how many partitions to process concurrently
PerPartitionConcurrency int32 // how many messages to process concurrently per partition
}
type OnEachMessageFunc func(key, value []byte) (err error)