Skip to content

Commit

Permalink
docs: clarify compatibility with Spring Boot (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar authored May 6, 2022
1 parent cbadae0 commit df7fdcd
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,19 @@

- see [What is different in RxJava3](https://github.com/ReactiveX/RxJava/wiki/What's-different-in-3.0)

#### Spring

:warning: The client upgrades the `OkHttp` library to version `4.9.3`. The version `3.12.x` is no longer supported - [okhttp#requirements](https://github.com/square/okhttp#requirements).

The `spring-boot` supports the `OkHttp:4.9.3` from the version `2.7.0.M2` - [spring-boot/OkHttp 4.9.3](https://github.com/spring-projects/spring-boot/commit/fc8f55fbf44bd54e8e09de5858f8dbedb21fa9a5).
For the older version of `spring-boot` you have to configure Spring Boot's `okhttp3.version` property:

```xml
<properties>
<okhttp3.version>4.9.3</okhttp3.version>
</properties>
```

### Changes in public API

- `WriteService` imports:
Expand Down
13 changes: 13 additions & 0 deletions spring/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,19 @@
- [Actuator for InfluxDB2 micrometer registry](#actuator-for-influxdb2-micrometer-registry)
- [Actuator for InfluxDB2 health](#actuator-for-influxdb2-health)

## Spring Boot Compatibility

:warning: The client version `6.0.0` upgrades the `OkHttp` library to version `4.9.3`. The version `3.12.x` is no longer supported - [okhttp#requirements](https://github.com/square/okhttp#requirements).

The `spring-boot` supports the `OkHttp:4.9.3` from the version `2.7.0.M2` - [spring-boot/OkHttp 4.9.3](https://github.com/spring-projects/spring-boot/commit/fc8f55fbf44bd54e8e09de5858f8dbedb21fa9a5).
For the older version of `spring-boot` you have to configure Spring Boot's `okhttp3.version` property:

```xml
<properties>
<okhttp3.version>4.9.3</okhttp3.version>
</properties>
```

## InfluxDB2 auto-configuration

To enable `InfluxDBClient` support you need to set a `influx.url` property, and include `influxdb-client-java` on your classpath.
Expand Down

0 comments on commit df7fdcd

Please sign in to comment.