Upgrade considerations
Ensure you're not calling StoreOffset with an EOF message.
As when calling Commit with an EOF message, it will throw an InvalidOperationException.
Previously this could cause skipping an offset (<2.1.0) or message reprocessing (>=2.1.0).
New features
- New optional package
Confluent.Kafka.OAuthBearer.Awsprovides AWS IAM-based
OAUTHBEARER authentication via AWS STSGetWebIdentityToken. Activate by
settingSaslOauthbearerMethod = SaslOauthbearerMethod.Oidc,
SaslOauthbearerMetadataAuthenticationType.AwsIam, and supplying
regionandaudienceinSaslOauthbearerConfig. See the package's README
for details.
Enhancements
- References librdkafka.redist 2.15.0. Refer to the librdkafka v2.15.0 release notes for more information.
- Added support for .NET 10 (LTS) and dropped support for .NET 6 (end of support since November 2024). The library now multi-targets
net8.0andnet10.0alongsidenetstandard2.0andnet462. Builds on the approach proposed in #2545 by Fernando Luiz de Lima (@ffernandolima), adapted for the centralizedDirectory.Build.propsstructure on current master. - Adds support for union-of-pools/ auto pool mapping for Schema Registry (#2634)