github Azure/azure-sdk-for-java azure-spring-cloud-starter-servicebus_2.8.0

latest releases: azure-communication-callautomation_1.2.0, azure-developer-devcenter_1.0.0, azure-security-keyvault-keys_4.8.3...
2 years ago

2.8.0 (2021-08-25)

This release is compatible with Spring Boot 2.5.0 - 2.5.3 and Spring Cloud 2020.0.3.

Key Bug Fixes

  • Fixed service bus cleint factory destroyed, resource not released bug.(#23195)

Dependency Upgrades

Breaking Changes

  • Override paritionkey when session id is set. (#23135)
  • Adjust the order of different partition key header. (#23135)
  • Deprecate the spring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.concurrency property,
    use maxConcurrentSessions and maxConcurrentCalls to set the properties.

New Features

  • Support configuration of retryOptions for ServiceBusClientBuilder with property of spring.cloud.azure.servicebus.retry-options, these parameters can be modified: maxRetries, delay, maxDelay, tryTimeout, Mode.
  • Support configuration of maxConcurrentCalls for ServiceBusClientConfig with property of spring.cloud.stream.servicebus.topic.bindings.<channelName>.consumer.maxConcurrentCalls.
  • Support configuration of maxConcurrentSessions for ServiceBusClientConfig with property of spring.cloud.stream.servicebus.topic.bindings.<channelName>.consumer.maxConcurrentSessions.
  • Support configuration of serviceBusReceiveMode for ServiceBusClientConfig with property of spring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.serviceBusReceiveMode, supported values are PEEK_LOCK and RECEIVE_AND_DELETE.
  • Support configuration of enableAutoComplete for ServiceBusClientConfig with property of spring.cloud.stream.servicebus.queue.bindings.<channelName>.consumer.enableAutoComplete.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.