Class InfluxDbAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.influx.InfluxDbAutoConfiguration
@AutoConfiguration
@ConditionalOnClass(org.influxdb.InfluxDB.class)
@EnableConfigurationProperties(InfluxDbProperties.class)
public class InfluxDbAutoConfiguration
extends Object
Auto-configuration
for InfluxDB.- Since:
- 2.0.0
- Author:
- Sergey Kuptsov, Stephane Nicoll, EddĂș MelĂ©ndez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.influxdb.InfluxDB
influxDb
(InfluxDbProperties properties, ObjectProvider<InfluxDbOkHttpClientBuilderProvider> builder, ObjectProvider<InfluxDbCustomizer> customizers)
-
Constructor Details
-
InfluxDbAutoConfiguration
public InfluxDbAutoConfiguration()
-
-
Method Details
-
influxDb
@Bean @ConditionalOnMissingBean @ConditionalOnProperty("spring.influx.url") public org.influxdb.InfluxDB influxDb(InfluxDbProperties properties, ObjectProvider<InfluxDbOkHttpClientBuilderProvider> builder, ObjectProvider<InfluxDbCustomizer> customizers)
-