Skip to content

v1.9.0

Latest
Compare
Choose a tag to compare
@Gsantomaggio Gsantomaggio released this 08 Jul 08:48
· 1 commit to main since this release
v1.9.0
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