start consuming ASAP

This commit is contained in:
chrislu
2024-05-19 14:52:38 -07:00
parent c21b32dd20
commit c6db3f31a1
5 changed files with 357 additions and 307 deletions

View File

@@ -25,7 +25,7 @@ type ProcessorConfiguration struct {
ConcurrentPartitionLimit int32 // how many partitions to process concurrently
}
type OnEachMessageFunc func(key, value []byte) (shouldContinue bool, err error)
type OnEachMessageFunc func(key, value []byte) (err error)
type OnCompletionFunc func()
type TopicSubscriber struct {