What's Changed
-
Introduce
SubscribeInitializeWithContext- same asSubscribeInitializebut you can pass context.Context to manage deadlines/timeouts. -
SubscribeInitializenow waits for all partitions of the topic to be created across brokers. This means once the function returns, the topic is ready for consumers to connect. This can be disabled withDoNotWaitForTopicCreation.
Full Changelog: v3.1.1...v3.1.2