Skip to content

spring.cloud.config.retry.useRandomPolicy not being applied #2379

@marnee01

Description

@marnee01

I see in #2353, that support was added for the spring.cloud.config.retry.useRandomPolicy property. However, it's not actually being applied when I run one of our ConfigServer clients. (I observed this by adding a break point in RetryProperties,isUseRandomPolicy(). It's never being called. Note that we have spring.config.use-legacy-processing=true.

Analysis: The retry appears to be configured in ConfigServiceBootstrapConfiguration.configServerRetryInterceptor. In spring-cloud-config-client-4.0.5.jar, I see that the RetryInterceptorBuilder is not calling the retryPolicy builder method. Was that a miss in the above-mentioned PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions