Closed daromnik closed 1 year ago
I think you need to look into a context propegator
resilience4j.thread-pool-bulkhead:
instances:
backendA:
maxThreadPoolSize: 23
coreThreadPoolSize: 20
queueCapacity: 100
writableStackTraceEnabled: false
contextPropagators:
- com.config.CustomContextPropagator
I am going to close this issue in favor of the one you opened in the Resilience4j project https://github.com/resilience4j/resilience4j/issues/1915
Resilience4j version: 1.7.0 Spring Boot 2.7.5 Java version: 17
Hello.
I am using these dependensies:
My requests went through the CircuitBreaker and what would be passed to the SecurityContext I wrote a bean:
Everything worked well. But then I needed to use Bulkhead and SecurityContext stopped being transmitted, because Bulkhead uses its own FixedThreadPoolBulkhead. Question: how can I configure Bulkhead so that it passes SecurityContext as before?