Go Kafka v3
Go-kafka V3 allows configuration at topic level, and relies on IBM saram (change of ownership).
What's Changed
- The library now relies on the IBM/sarama library instead of Shopify/sarama, which is no longer maintained.
- The
kafka.Handler
type has been changed to a struct containing both the function to execute and the handler's optional configuration. - The global variable
PushConsumerErrorsToTopic
has been replaced by thePushConsumerErrorsToRetryTopic
andPushConsumerErrorsToDeadletterTopic
properties on the handler.
These changes should be the only breaking changes in the v3 release. The rest of the library should be compatible with the previous version.
Full Changelog: v2.2.0...v3.0.0