Furthermore, one can enable gzip compression in order to reduce size of the transferred data: spring: influxdb: gzip: true Create InfluxDBConnectionFactory and InfluxDBTemplate beans: @Configuration @EnableConfigurationProperties(InfluxDBProperties.class) public class InfluxDBConfiguration { @Bean public...
<description>Spring integration with InfluxDB.</description> <url>https://github.com/miwurster/spring-data-influxdb</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <...
墨菲安全对开源项目miwurster/spring-data-influxdb进行了软件成分分析,发现引入开源组件 21 个,相关许可证 2 类,其中存在漏洞的缺陷组件 5 个。 安全风险信息 建议修复的组件共 4 个,这些组件的漏洞存在被攻击的可能性,建议1个月内进行处理 可选修复的组件共 1 个,这些组件的漏洞被攻击的风险较低,建议3个月...
packageorg.ouyushan.springboot.data.influxdb.config;importlombok.Data;importlombok.extern.slf4j.Slf4j;importorg.influxdb.InfluxDB;importorg.influxdb.InfluxDBFactory;importorg.influxdb.dto.Point;importorg.influxdb.dto.Query;importorg.influxdb.dto.QueryResult;importjava.util.Map;importjava.util.concurr...
spring: influx: url: http://tcloud:18088 user: admin password: admin database: mydb retentionPolicy: default retentionPolicyTime: 30d 1.2 代码实现 配置类: @Configuration public class InfluxDatabaseConfig { @Value("${spring.influx.url}") public String url; @Value("${spring.influx.user}") ...
Enter InfluxDB: $ influx Query the currently existing database: > show databases Create a database (note that the database name is consistent with the first parameter of write in the above Java code): > create database "test" second step: Start the Spring Boot application, under the actio...
<dependency> <groupId>com.github.miwurster</groupId> <artifactId>spring-data-influxdb</artifactId> <version>1.8</version> </dependency> Following properties can be used in yourapplication.yml: spring:influxdb:url:http://localhost:8086username:userpassword:~database:testretention-policy:autogen ...
<dependency> <groupId>com.github.miwurster</groupId> <artifactId>spring-data-influxdb</artifactId> <version>1.8</version> </dependency> Following properties can be used in yourapplication.yml: spring:influxdb:url:http://localhost:8086username:userpassword:~database:testretention-policy:autogen ...
importorg.springframework.context.annotation.Bean; importorg.springframework.context.annotation.Configuration; importorg.springframework.data.influxdb.InfluxDBConnectionFactory; importorg.springframework.data.influxdb.InfluxDBOperations; @Configuration @ConditionalOnClass({InfluxDB.class,InfluxDBOperations.class})...
- [#670](https://github.com/influxdata/influxdb-client-java/pull/670): `micrometer-registry-influx` to `1.12.1` - [#673](https://github.com/influxdata/influxdb-client-java/pull/673): `spring-boot` to `3.2.2` - [#673](https://github.com/influxdata/influxdb-client-java/pu...