v2.4.0
This is a feature release.
- KIP-848: Integration tests running with the new consumer group protocol. The feature is an Early Access: not production ready (#1185).
- Allow custom http.Client to be passed to schema registry client (#1099)
- Cache schemas when setting
UseLatestVersion=true
(#1100) - Add
CacheLatestTtlSecs
to allow expiration of latest schemas (#1106) - Cache parsed file descriptors in Protobuf deserializer (#1128)
- Add
CacheSchemas
option to Protobuf serializer (#1151) - Add
tags
field to Confluent metadata (#1131)
Fixes
- The version of Go in go.mod has been changed from 1.17 to 1.21. This is necessary to update test dependencies with security vulnerabilities. Code using the library will still work with Go 1.17 (#1136, @rzeijde).
- Fix JSON validation during serialization (#1101)
- Fix counter in mock schema registry client (#1170)
confluent-kafka-go is based on librdkafka v2.4.0, see the librdkafka v2.4.0 release notes for a complete list of changes, enhancements, fixes and upgrade considerations.