Description
Describe the bug
The retry functionality does not work, since the below configuration will not be applied correctly when using Spring Cloud Azure Stream Binder Event Hub.
spring.cloud.azure.eventhubs.consumer.retry.mode=exponential
spring.cloud.azure.eventhubs.consumer.retry.try-timeout=2
spring.cloud.azure.eventhubs.consumer.retry.exponential.base-delay=PT1S
spring.cloud.azure.eventhubs.consumer.retry.exponential.max-delay=PT3S
spring.cloud.azure.eventhubs.consumer.retry.exponential.max-retries=3
Exception or Stack Trace
N/A
To Reproduce
- Clone the sample
- Add the below consumer retry options
spring:
cloud:
azure:
eventhubs:
consumer:
retry:
mode: exponential
try-timeout: 2
exponential:
base-delay: PT1S
max-delay: PT3S
max-retries: 3
- Run the app, check the options on Event Hubs client
Code Snippet
N/A
Expected behavior
The retry options should only be taken for the consumer client, maybe all Azure SDK client, and the documentation should be synced as well.
Screenshots
N/A
Setup (please complete the following information):
- OS: Windows 11
- IDE: IntelliJ
- Library/Libraries: com.azure.spring:spring-cloud-azure-stream-binder-eventhubs:4.8.0
- Java version: 17
- Frameworks: Spring Boot 2.7.11
Additional context
The same issues may exist for client options and proxy options, as well as the Service Bus side.
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- Bug Description Added
- Repro Steps Added
- Setup information Added
Metadata
Metadata
Assignees
Labels
Type
Projects
Status