dependabot[bot] opened a new pull request, #12561: URL: https://github.com/apache/camel/pull/12561
Bumps [com.influxdb:influxdb-client-java](https://github.com/influxdata/influxdb-client-java) from 6.11.0 to 6.12.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/influxdata/influxdb-client-java/releases">com.influxdb:influxdb-client-java's releases</a>.</em></p> <blockquote> <h2>6.12.0</h2> <h3>Features</h3> <ol> <li><a href="https://redirect.github.com/influxdata/influxdb-client-java/pull/643">#643</a>: <code>ConnectionClosingInterceptor</code> 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.</li> </ol> <p>The connection to the InfluxDB Enterprise with the <code>ConnectionClosingInterceptor</code> can be configured as follows:</p> <pre lang="java"><code>package example; <p>import java.time.Duration; import java.util.Collections;</p> <p>import okhttp3.OkHttpClient; import okhttp3.Protocol;</p> <p>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;</p> <p>public class InfluxQLExample {</p> <pre><code>public static void main(final String[] args) throws InterruptedException { // // Credentials to connect to InfluxDB Enterprise // String url = &quot;https://localhost:8086&quot;; String username = &quot;admin&quot;; String password = &quot;password&quot;; String database = &quot;database&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 -&gt; interceptor); </code></pre> <p></tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/influxdata/influxdb-client-java/blob/master/CHANGELOG.md">com.influxdb:influxdb-client-java's changelog</a>.</em></p> <blockquote> <h2>6.12.0 [2023-12-15]</h2> <h3>Features</h3> <ol> <li><a href="https://redirect.github.com/influxdata/influxdb-client-java/pull/643">#643</a>: <code>ConnectionClosingInterceptor</code> 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.</li> </ol> <p>The connection to the InfluxDB Enterprise with the <code>ConnectionClosingInterceptor</code> can be configured as follows:</p> <pre lang="java"><code>package example; <p>import java.time.Duration; import java.util.Collections;</p> <p>import okhttp3.OkHttpClient; import okhttp3.Protocol;</p> <p>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;</p> <p>public class InfluxQLExample {</p> <pre><code>public static void main(final String[] args) throws InterruptedException { // // Credentials to connect to InfluxDB Enterprise // String url = &quot;https://localhost:8086&quot;; String username = &quot;admin&quot;; String password = &quot;password&quot;; String database = &quot;database&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 -&gt; interceptor); </code></pre> <p></tr></table> </code></pre></p> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/influxdata/influxdb-client-java/commit/7b9eedf3fd5fea639ea25ab4a0c42a4513ee50e0"><code>7b9eedf</code></a> [maven-release-plugin] prepare release v6.12.0</li> <li><a href="https://github.com/influxdata/influxdb-client-java/commit/ed1266631b585c08c46f63ccf0207bd629dea96f"><code>ed12666</code></a> chore(release): release version 6.12.0 [skip ci]</li> <li><a href="https://github.com/influxdata/influxdb-client-java/commit/d05c6d2ef110861971492cb519c301f872c4f410"><code>d05c6d2</code></a> feat: add HTTP connection interceptor which TTL configuration (<a href="https://redirect.github.com/influxdata/influxdb-client-java/issues/643">#643</a>)</li> <li><a href="https://github.com/influxdata/influxdb-client-java/commit/997599d365105e99747cb8e556034d21bf7b1bd0"><code>997599d</code></a> chore(release): prepare for next development iteration</li> <li><a href="https://github.com/influxdata/influxdb-client-java/commit/eaff542d712a0ba70342dc1162ba261241458b2c"><code>eaff542</code></a> [maven-release-plugin] prepare for next development iteration</li> <li>See full diff in <a href="https://github.com/influxdata/influxdb-client-java/compare/v6.11.0...v6.12.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
