Skip to content

v1.9.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@Gsantomaggio Gsantomaggio released this 01 Jul 08:09
· 2 commits to main since this release
v1.9.0-rc.1
696e28c

Milestone 1.9

The version focuses on improving the consumer parser chunk and providing the user with more control to handle credits.

Major changes:

  • The CRC control is enabled by default.
    It is possible to define the policy in case the CRC32 fails:
          Crc32 = new StreamCrc32()
          {
           FailAction = sourceConsumer =>
                  .....
  • System.IO.Hashing is shipped with the client due to #423
  • Configure the flow control:
public enum ConsumerFlowStrategy
{
    CreditsBeforeParseChunk,
    CreditsAfterParseChunk,
    ConsumerCredits
}
var consumerConfig = new RawConsumerConfig(stream)
 {
     FlowControl = new FlowControl() { 
     Strategy = ConsumerFlowStrategy.CreditsBeforeParseChunk
  },

Enhancements

Breaking changes

  • The ICrc32 requires Func<IConsumer, ChunkAction> FailAction, see: #423. Valid only if the ICrc32 was implemented.

Full Changelog: v1.8.14...v1.9.0-rc.1