v.1.8.0-beta.2 #347
Gsantomaggio
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Enhancements
Full Changelog: v1.8.0-beta.1...v1.8.0-beta.2
What's new in 1.8
The 1.8 focus are:
The high-level classes
Consumer
andProducer
don't introduce breaking changes.The
RawSuperStream*
classes change the default behaviour. Please take a look at the section 3.1. Multiple Consumers and Producers per connection
The RabbitMQ stream protocol supports multi-producers and multi-consumers per TCP Connection.
This version introduces the connection pool for Consumers and Producers.
There is a new
ConnectionPoolConfig
setting:ConsumersPerConnection
== The number of consumers per connection min 1 max 200 default is 1ProducersPerConnection
== The number of producers per connection min 1 max 200 default is 1Each connection can handle different streams; see the image:
Performances
Sharing the same connection for multiple streams reduces the number of connections, but it could impact the performances:
The proper parameter depends on your environment.
Tip
You can use different
StreamSystemConfig
like:There are many combinations from
1
to200
.2. Improve the reconnections
Handle
streamNotAvailable
, Add disconnection Info: #343Improve the super stream reconnection: #344
Increase the backoff strategy time: #345
Please follow this document If you want to know more about what happens during a broker restart.
The focus is to improve the reconnection during the cluster restart.
3. Raw Super stream events
Removed the auto-reconnect. The
RawSuperStreamProducer
andRawSuperStreamConsumer
classes now expose two events:#344
**NOTE: If you are using these classes, the auto-reconnect is removed to be compliant with all the
Raw*
classes. **You should use
Consumer
andProducer
unless for a specific use case.For Raw* users:
The same is true for the standard consumer.
This discussion was created from the release v.1.8.0-beta.2.
Beta Was this translation helpful? Give feedback.
All reactions