@Configuration
@ConditionalOnClass(value={com.netflix.hystrix.HystrixCircuitBreaker.class,org.springframework.cloud.stream.annotation.EnableBinding.class})
@ConditionalOnProperty(value="hystrix.stream.queue.enabled",
matchIfMissing=true)
@EnableConfigurationProperties
@EnableScheduling
@EnableBinding(value=HystrixStreamClient.class)
@AutoConfigureBefore(value=org.springframework.cloud.stream.config.BindingServiceConfiguration.class)
public class HystrixStreamAutoConfiguration
extends Object
hystrix.stream.queue.enabled. There are some high level configuration
options in HystrixStreamProperties. The binding name for Spring Cloud Stream is
HystrixStreamClient.OUTPUT so you can configure stream other properties through
that.| Constructor and Description |
|---|
HystrixStreamAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
HystrixStreamProperties |
hystrixStreamProperties() |
org.springframework.cloud.client.actuator.HasFeatures |
hystrixStreamQueueFeature() |
HystrixStreamTask |
hystrixStreamTask(org.springframework.cloud.client.discovery.simple.SimpleDiscoveryProperties simpleDiscoveryProperties) |
void |
init() |
@Bean public org.springframework.cloud.client.actuator.HasFeatures hystrixStreamQueueFeature()
@PostConstruct public void init()
@Bean public HystrixStreamProperties hystrixStreamProperties()
@Bean public HystrixStreamTask hystrixStreamTask(org.springframework.cloud.client.discovery.simple.SimpleDiscoveryProperties simpleDiscoveryProperties)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.