You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like bug because there's conditional @ConditionalOnBean(CorrelationScopeDecorator.Builder.class)
over this bean.
Thus there's no way to customize builder for correlationScopeDecorator (for example if we want to add custom SingleCorrelationField with flushing on update).
I suggest to inject the builder as method parameter in java configuration of correlationScopeDecorator bean and use it.
The text was updated successfully, but these errors were encountered:
The correlationScopeDecorator creates CorrelationScopeDecorator.Builder via new operator and fully ignores builder bean:
spring-cloud-sleuth/spring-cloud-sleuth-autoconfigure/src/main/java/org/springframework/cloud/sleuth/autoconfig/brave/BraveBaggageConfiguration.java
Line 207 in fc5f26a
Looks like bug because there's conditional
@ConditionalOnBean(CorrelationScopeDecorator.Builder.class)
over this bean.
Thus there's no way to customize builder for correlationScopeDecorator (for example if we want to add custom SingleCorrelationField with flushing on update).
I suggest to inject the builder as method parameter in java configuration of correlationScopeDecorator bean and use it.
The text was updated successfully, but these errors were encountered: