4.45.0 (2023-05-12)
Features Added
- Added support for priority based throttling - See PR 34121
- Added configurability for minimum connection pool size for all containers through a system property -
COSMOS.MIN_CONNECTION_POOL_SIZE_PER_ENDPOINT
- See PR 33983. - Added
CosmosContainerProactiveInitConfigBuilder:setAggressiveWarmupDuration(Duration aggressiveWarmupDuration)
public API to switch between aggressively opening connections
in a blocking manner to defensively opening connections in a non-blocking manner afteraggressiveWarmupDuration
has elapsed - See PR 33983. - Added end to end timeout policy for item operations. Requests will be cancelled if they have not finished before the configured timeout - See PR 34554.
- Added capability to sample diagnostics dynamically (without need to reinitialize the app or the Cosmos Client instance). - See PR 34915.
Bugs Fixed
- Fixed
IllegalArgumentException
in changeFeedProcessor whenmaxScaleCount
is configured - See PR 34618 - Removed custom user agent suffix from client telemetry - See PR 34866
- Fixed an issue where
userAgentSuffix
is not being used inCosmosDiagnostics
- See PR 34863 - Enabled proactive connection management to only reopen closed / reset connections to those endpoints used by containers which
were part of the connection warm up flow - See PR 34892