Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump com.influxdb:influxdb-client-java from 6.11.0 to 6.12.0 in /modules/influxdb #7969

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 18, 2023

Bumps com.influxdb:influxdb-client-java from 6.11.0 to 6.12.0.

Release notes

Sourced from com.influxdb:influxdb-client-java's releases.

6.12.0

Features

  1. #643: ConnectionClosingInterceptor interceptor closes connections that exceed a specified maximum lifetime age (TTL). It's beneficial for scenarios where your application requires establishing new connections to the same host after a predetermined interval.

The connection to the InfluxDB Enterprise with the ConnectionClosingInterceptor can be configured as follows:

package example;
import java.time.Duration;
import java.util.Collections;
import okhttp3.OkHttpClient;
import okhttp3.Protocol;
import com.influxdb.client.InfluxDBClient;
import com.influxdb.client.InfluxDBClientFactory;
import com.influxdb.client.InfluxDBClientOptions;
import com.influxdb.client.domain.WriteConsistency;
import com.influxdb.rest.ConnectionClosingInterceptor;
public class InfluxQLExample {
public static void main(final String[] args) throws InterruptedException {
//
// Credentials to connect to InfluxDB Enterprise
//
String url = "https://localhost:8086";
String username = "admin";
String password = "password";
String database = "database";
WriteConsistency consistency = WriteConsistency.ALL;

//
// Configure underlying HTTP client
//
OkHttpClient.Builder okHttpClientBuilder = new OkHttpClient.Builder()
        .protocols(Collections.singletonList(Protocol.HTTP_1_1));

//
// Use new Connection TTL feature
//
Duration connectionMaxAge = Duration.ofMinutes(1);
ConnectionClosingInterceptor interceptor = new ConnectionClosingInterceptor(connectionMaxAge);
okHttpClientBuilder
        .addNetworkInterceptor(interceptor)
        .eventListenerFactory(call -> interceptor);


</tr></table>

... (truncated)

Changelog

Sourced from com.influxdb:influxdb-client-java's changelog.

6.12.0 [2023-12-15]

Features

  1. #643: ConnectionClosingInterceptor interceptor closes connections that exceed a specified maximum lifetime age (TTL). It's beneficial for scenarios where your application requires establishing new connections to the same host after a predetermined interval.

The connection to the InfluxDB Enterprise with the ConnectionClosingInterceptor can be configured as follows:

package example;
import java.time.Duration;
import java.util.Collections;
import okhttp3.OkHttpClient;
import okhttp3.Protocol;
import com.influxdb.client.InfluxDBClient;
import com.influxdb.client.InfluxDBClientFactory;
import com.influxdb.client.InfluxDBClientOptions;
import com.influxdb.client.domain.WriteConsistency;
import com.influxdb.rest.ConnectionClosingInterceptor;
public class InfluxQLExample {
public static void main(final String[] args) throws InterruptedException {
//
// Credentials to connect to InfluxDB Enterprise
//
String url = &amp;quot;https://localhost:8086&amp;quot;;
String username = &amp;quot;admin&amp;quot;;
String password = &amp;quot;password&amp;quot;;
String database = &amp;quot;database&amp;quot;;
WriteConsistency consistency = WriteConsistency.ALL;

//
// Configure underlying HTTP client
//
OkHttpClient.Builder okHttpClientBuilder = new OkHttpClient.Builder()
        .protocols(Collections.singletonList(Protocol.HTTP_1_1));

//
// Use new Connection TTL feature
//
Duration connectionMaxAge = Duration.ofMinutes(1);
ConnectionClosingInterceptor interceptor = new ConnectionClosingInterceptor(connectionMaxAge);
okHttpClientBuilder
        .addNetworkInterceptor(interceptor)
        .eventListenerFactory(call -&amp;gt; interceptor);


</tr></table>

... (truncated)

Commits
  • 7b9eedf [maven-release-plugin] prepare release v6.12.0
  • ed12666 chore(release): release version 6.12.0 [skip ci]
  • d05c6d2 feat: add HTTP connection interceptor which TTL configuration (#643)
  • 997599d chore(release): prepare for next development iteration
  • eaff542 [maven-release-plugin] prepare for next development iteration
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from a team as a code owner December 18, 2023 22:03
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java labels Dec 18, 2023
@settings settings bot removed the java label Jan 23, 2024
@eddumelendez
Copy link
Member

@dependabot rebase

Bumps [com.influxdb:influxdb-client-java](https://github.com/influxdata/influxdb-client-java) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/influxdata/influxdb-client-java/releases)
- [Changelog](https://github.com/influxdata/influxdb-client-java/blob/master/CHANGELOG.md)
- [Commits](influxdata/influxdb-client-java@v6.11.0...v6.12.0)

---
updated-dependencies:
- dependency-name: com.influxdb:influxdb-client-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/modules/influxdb/com.influxdb-influxdb-client-java-6.12.0 branch from 61e6557 to 4a8738a Compare January 24, 2024 14:01
@eddumelendez eddumelendez merged commit bb5c404 into main Jan 24, 2024
90 checks passed
@eddumelendez eddumelendez deleted the dependabot/gradle/modules/influxdb/com.influxdb-influxdb-client-java-6.12.0 branch January 24, 2024 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file modules/influx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant