@Configuration
@EnableMetrics
@EnableScheduling
public class NakadiConfig
extends java.lang.Object
| Constructor and Description |
|---|
NakadiConfig() |
| Modifier and Type | Method and Description |
|---|---|
com.codahale.metrics.MetricRegistry |
metricRegistry() |
com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter |
metricsConfigurerAdapter(com.codahale.metrics.MetricRegistry metricRegistry) |
org.springframework.boot.context.embedded.ServletRegistrationBean |
servletRegistrationBean(com.codahale.metrics.MetricRegistry metricRegistry) |
org.springframework.core.task.TaskExecutor |
taskExecutor() |
ZkSubscriptionClientFactory |
zkSubscriptionClientFactory(ZooKeeperHolder zooKeeperHolder) |
ZooKeeperLockFactory |
zooKeeperLockFactory(ZooKeeperHolder zooKeeperHolder) |
@Bean public org.springframework.core.task.TaskExecutor taskExecutor()
@Bean public org.springframework.boot.context.embedded.ServletRegistrationBean servletRegistrationBean(com.codahale.metrics.MetricRegistry metricRegistry)
@Bean public com.ryantenney.metrics.spring.config.annotation.MetricsConfigurerAdapter metricsConfigurerAdapter(com.codahale.metrics.MetricRegistry metricRegistry)
@Bean public ZooKeeperLockFactory zooKeeperLockFactory(ZooKeeperHolder zooKeeperHolder)
@Bean public ZkSubscriptionClientFactory zkSubscriptionClientFactory(ZooKeeperHolder zooKeeperHolder)
@Bean public com.codahale.metrics.MetricRegistry metricRegistry()