zarusz / SlimMessageBus

Lightweight message bus interface for .NET (pub/sub and request-response) with transport plugins for popular message brokers.
Apache License 2.0
467 stars 78 forks source link

Downgrade Kafka client version from 2.4.0 to 2.3.0 #281

Closed zarusz closed 2 months ago

zarusz commented 2 months ago

Between versions 2.3.0 and 2.4.0 of Confluent.Kafka, a breaking change or a bug appears to have been introduced.

In version 2.4.0, the offset on the topic-partition is either not being committed correctly, or the group offset is not being restored upon client restart. As a result, the consumer reads an offset earlier than what was committed in the previous run.

This issue causes the Outbox tests to fail when using Kafka as the transport.

Reference:

<PackageReference Include="Confluent.Kafka" Version="2.3.0" />
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud