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

feat: update libraries, migrate to RxJava3 #298

Merged
merged 21 commits into from
Apr 5, 2022
Merged

Conversation

rhajek
Copy link
Contributor

@rhajek rhajek commented Jan 18, 2022

Proposed Changes

RxJava2 has reached end-of-life. Update all library dependencies, for the next major release.

Checklist

  • CHANGELOG.md updated
  • Rebased/mergeable
  • A test has been added if appropriate
  • mvn test completes successfully
  • Commit messages are in semantic format
  • Sign CLA (if not already signed)

@codecov-commenter
Copy link

codecov-commenter commented Jan 20, 2022

Codecov Report

Merging #298 (966bbb2) into master (2194288) will increase coverage by 0.03%.
The diff coverage is 100.00%.

❗ Current head 966bbb2 differs from pull request most recent head 2453128. Consider uploading reports for the commit 2453128 to get more accurate results

@@             Coverage Diff              @@
##             master     #298      +/-   ##
============================================
+ Coverage     88.76%   88.80%   +0.03%     
  Complexity      613      613              
============================================
  Files           151      151              
  Lines          6143     6143              
  Branches        292      292              
============================================
+ Hits           5453     5455       +2     
+ Misses          606      604       -2     
  Partials         84       84              
Impacted Files Coverage Δ
...influxdb/client/reactive/WriteOptionsReactive.java 100.00% <ø> (ø)
...client/reactive/internal/QueryReactiveApiImpl.java 77.66% <ø> (ø)
...client/reactive/internal/WriteReactiveApiImpl.java 97.19% <ø> (ø)
...rc/main/java/com/influxdb/client/WriteOptions.java 100.00% <ø> (ø)
...ava/com/influxdb/client/internal/WriteApiImpl.java 100.00% <ø> (ø)
.../reactive/internal/InfluxDBClientReactiveImpl.java 100.00% <100.00%> (ø)
...fluxdb/client/internal/AbstractInfluxDBClient.java 93.33% <100.00%> (+3.33%) ⬆️
.../influxdb/client/internal/AbstractWriteClient.java 92.19% <100.00%> (ø)
...m/influxdb/client/internal/InfluxDBClientImpl.java 89.47% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2194288...2453128. Read the comment docs.

@rhajek
Copy link
Contributor Author

rhajek commented Jan 21, 2022

There is a failing test:
com.influxdb.client.ITWriteTooManyData#backpressureAndBufferConsistency

It is probably related to RxJava3 backpressure and groupBy described in :
https://github.com/ReactiveX/RxJava/wiki/What's-different-in-3.0/080da79549b91abbd5af1c58cfe984e471454dcf#backpressure-in-groupby

The log contains following io.reactivex.rxjava3.exceptions.MissingBackpressureException stacktrace:

Jan 21, 2022 8:50:20 AM com.influxdb.client.write.events.WriteErrorEvent logEvent
SEVERE: The error occurred during writing of data
com.influxdb.exceptions.InfluxException: Unable to emit a new group (#2) due to lack of requests. Please make sure the downstream can always accept a new group as well as each group is consumed in order for the whole operator to be able to proceed.
	at com.influxdb.internal.AbstractRestClient.toInfluxException(AbstractRestClient.java:101)
	at com.influxdb.client.internal.AbstractWriteClient.lambda$new$12(AbstractWriteClient.java:184)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onError(LambdaSubscriber.java:79)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableDoFinally$DoFinallySubscriber.onError(FlowableDoFinally.java:89)
	at io.reactivex.rxjava3.internal.util.AtomicThrowable.tryTerminateConsumer(AtomicThrowable.java:94)
	at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.drain(FlowableConcatMapMaybe.java:224)
	at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapMaybe$ConcatMapMaybeSubscriber.onError(FlowableConcatMapMaybe.java:146)
	at io.reactivex.rxjava3.internal.util.AtomicThrowable.tryTerminateConsumer(AtomicThrowable.java:94)
	at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapSingle$ConcatMapSingleSubscriber.drain(FlowableConcatMapSingle.java:219)
	at io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapSingle$ConcatMapSingleSubscriber.onError(FlowableConcatMapSingle.java:146)
	at io.reactivex.rxjava3.internal.util.AtomicThrowable.tryTerminateConsumer(AtomicThrowable.java:94)
	at io.reactivex.rxjava3.internal.util.HalfSerializer.onError(HalfSerializer.java:67)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableConcatMap$ConcatMapImmediate.innerError(FlowableConcatMap.java:210)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableConcatMap$ConcatMapInner.onError(FlowableConcatMap.java:571)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableGroupBy$GroupBySubscriber.onError(FlowableGroupBy.java:220)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableGroupBy$GroupBySubscriber.onNext(FlowableGroupBy.java:197)
	at io.reactivex.rxjava3.processors.UnicastProcessor.drainRegular(UnicastProcessor.java:309)
	at io.reactivex.rxjava3.processors.UnicastProcessor.drain(UnicastProcessor.java:384)
	at io.reactivex.rxjava3.processors.UnicastProcessor.onNext(UnicastProcessor.java:444)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.drain(FlowableWindowBoundary.java:227)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableWindowBoundary$WindowBoundaryMainSubscriber.onNext(FlowableWindowBoundary.java:104)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowablePublishMulticast$MulticastProcessor.drain(FlowablePublishMulticast.java:404)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowablePublishMulticast$MulticastProcessor.onNext(FlowablePublishMulticast.java:221)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableOnBackpressureBufferStrategy$OnBackpressureBufferStrategySubscriber.drain(FlowableOnBackpressureBufferStrategy.java:234)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableOnBackpressureBufferStrategy$OnBackpressureBufferStrategySubscriber.onNext(FlowableOnBackpressureBufferStrategy.java:145)
	at io.reactivex.rxjava3.processors.PublishProcessor$PublishSubscription.onNext(PublishProcessor.java:363)
	at io.reactivex.rxjava3.processors.PublishProcessor.onNext(PublishProcessor.java:242)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableMap$MapSubscriber.onNext(FlowableMap.java:69)
	at io.reactivex.rxjava3.internal.subscriptions.ScalarSubscription.request(ScalarSubscription.java:55)
	at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.request(BasicFuseableSubscriber.java:153)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.request(LambdaSubscriber.java:114)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper$RequestMax.accept(FlowableInternalHelper.java:216)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper$RequestMax.accept(FlowableInternalHelper.java:212)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onSubscribe(LambdaSubscriber.java:52)
	at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.onSubscribe(BasicFuseableSubscriber.java:67)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableJust.subscribeActual(FlowableJust.java:34)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15747)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableMap.subscribeActual(FlowableMap.java:38)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15747)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15683)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15644)
	at com.influxdb.client.internal.AbstractWriteClient.write(AbstractWriteClient.java:246)
	at com.influxdb.client.internal.AbstractWriteClient.lambda$write$14(AbstractWriteClient.java:225)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onNext(LambdaSubscriber.java:65)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableMap$MapSubscriber.onNext(FlowableMap.java:69)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableFilter$FilterSubscriber.tryOnNext(FlowableFilter.java:74)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable$IteratorConditionalSubscription.fastPath(FlowableFromIterable.java:321)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable$BaseRangeSubscription.request(FlowableFromIterable.java:129)
	at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.request(BasicFuseableSubscriber.java:153)
	at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.request(BasicFuseableSubscriber.java:153)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.request(LambdaSubscriber.java:114)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper$RequestMax.accept(FlowableInternalHelper.java:216)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableInternalHelper$RequestMax.accept(FlowableInternalHelper.java:212)
	at io.reactivex.rxjava3.internal.subscribers.LambdaSubscriber.onSubscribe(LambdaSubscriber.java:52)
	at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.onSubscribe(BasicFuseableSubscriber.java:67)
	at io.reactivex.rxjava3.internal.subscribers.BasicFuseableSubscriber.onSubscribe(BasicFuseableSubscriber.java:67)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable.subscribe(FlowableFromIterable.java:66)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableFromIterable.subscribeActual(FlowableFromIterable.java:47)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15747)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableFilter.subscribeActual(FlowableFilter.java:37)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15747)
	at io.reactivex.rxjava3.internal.operators.flowable.FlowableMap.subscribeActual(FlowableMap.java:38)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15747)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15683)
	at io.reactivex.rxjava3.core.Flowable.subscribe(Flowable.java:15644)
	at com.influxdb.client.internal.AbstractWriteClient.write(AbstractWriteClient.java:224)
	at com.influxdb.client.internal.WriteApiImpl.writePoints(WriteApiImpl.java:151)
	at com.influxdb.client.internal.WriteApiImpl.writePoint(WriteApiImpl.java:127)
	at com.influxdb.client.internal.WriteApiImpl.writePoint(WriteApiImpl.java:115)
	at com.influxdb.client.ITWriteTooManyData$Writer.run(ITWriteTooManyData.java:158)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: io.reactivex.rxjava3.exceptions.MissingBackpressureException: Unable to emit a new group (#2) due to lack of requests. Please make sure the downstream can always accept a new group as well as each group is consumed in order for the whole operator to be able to proceed.
	... 61 more

@bednar
Copy link
Contributor

bednar commented Jan 31, 2022

@rhajek tests are fixed

@bednar
Copy link
Contributor

bednar commented Jan 31, 2022

@rhajek

There are still libraries that need to be updated: mvn versions:display-dependency-updates

[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] The InfluxDB 2.0 JVM Based Clients                                 [pom]
[INFO] The InfluxDB Client Utils                                          [jar]
[INFO] The InfluxDB Client Test Tools                                     [jar]
[INFO] The InfluxDB Client Core                                           [jar]
[INFO] The InfluxDB 1.7+ Flux Client                                      [jar]
[INFO] The Java InfluxDB 2.0 Client                                       [jar]
[INFO] The RxJava InfluxDB 2.0 Client                                     [jar]
[INFO] The Kotlin InfluxDB 2.0 Client                                     [jar]
[INFO] The Scala InfluxDB 2.0 Client [Scala 2.12]                         [jar]
[INFO] The Scala InfluxDB 2.0 Client [Scala 2.13]                         [jar]
[INFO] The OSGi InfluxDB 2.0 Client                                    [bundle]
[INFO] Apache Karaf Integration for InfluxDB 2.0                          [pom]
[INFO] Apache Karaf Features for InfluxDB 2.0                         [feature]
[INFO] Apache Karaf KAR for InfluxDB 2.0                                  [kar]
[INFO] Apache Karaf Assembly for InfluxDB 2.0                  [karaf-assembly]
[INFO] Spring Integration for InfluxDB 2.0                                [jar]
[INFO] The Flux DSL                                                       [jar]
[INFO] examples                                                           [jar]
[INFO] 
[INFO] --------------------< com.influxdb:influxdb-client >--------------------
[INFO] Building The InfluxDB 2.0 JVM Based Clients 4.2.0-SNAPSHOT        [1/18]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] -----------------< com.influxdb:influxdb-client-utils >-----------------
[INFO] Building The InfluxDB Client Utils 4.2.0-SNAPSHOT                 [2/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-utils ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] -----------------< com.influxdb:influxdb-client-test >------------------
[INFO] Building The InfluxDB Client Test Tools 4.2.0-SNAPSHOT            [3/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-test ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] -----------------< com.influxdb:influxdb-client-core >------------------
[INFO] Building The InfluxDB Client Core 4.2.0-SNAPSHOT                  [4/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-core ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] -----------------< com.influxdb:influxdb-client-flux >------------------
[INFO] Building The InfluxDB 1.7+ Flux Client 4.2.0-SNAPSHOT             [5/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-flux ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] -----------------< com.influxdb:influxdb-client-java >------------------
[INFO] Building The Java InfluxDB 2.0 Client 4.2.0-SNAPSHOT              [6/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-java ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] ---------------< com.influxdb:influxdb-client-reactive >----------------
[INFO] Building The RxJava InfluxDB 2.0 Client 4.2.0-SNAPSHOT            [7/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-reactive ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] ----------------< com.influxdb:influxdb-client-kotlin >-----------------
[INFO] Building The Kotlin InfluxDB 2.0 Client 4.2.0-SNAPSHOT            [8/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-kotlin ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm ...
[INFO]                                                 1.4.3 -> 1.6.0-native-mt
[INFO] 
[INFO] 
[INFO] --------------< com.influxdb:influxdb-client-scala_2.12 >---------------
[INFO] Building The Scala InfluxDB 2.0 Client [Scala 2.12] 4.2.0-SNAPSHOT [9/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-scala_2.12 ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   com.typesafe.akka:akka-stream-testkit_2.12 ........... 2.6.6 -> 2.6.18
[INFO]   com.typesafe.akka:akka-stream_2.12 ................... 2.6.6 -> 2.6.18
[INFO]   com.typesafe.akka:akka-testkit_2.12 .................. 2.6.6 -> 2.6.18
[INFO]   org.scala-lang:scala-library ....................... 2.12.13 -> 2.13.8
[INFO]   org.scala-lang.modules:scala-collection-compat_2.12 ... 2.4.2 -> 2.6.0
[INFO]   org.scalatest:scalatest_2.12 ......................... 3.2.0 -> 3.2.11
[INFO] 
[INFO] 
[INFO] --------------< com.influxdb:influxdb-client-scala_2.13 >---------------
[INFO] Building The Scala InfluxDB 2.0 Client [Scala 2.13] 4.2.0-SNAPSHOT [10/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-scala_2.13 ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   com.typesafe.akka:akka-stream-testkit_2.13 ........... 2.6.6 -> 2.6.18
[INFO]   com.typesafe.akka:akka-stream_2.13 ................... 2.6.6 -> 2.6.18
[INFO]   com.typesafe.akka:akka-testkit_2.13 .................. 2.6.6 -> 2.6.18
[INFO]   org.scala-lang:scala-library ........................ 2.13.5 -> 2.13.8
[INFO]   org.scalatest:scalatest_2.13 ......................... 3.2.0 -> 3.2.11
[INFO] 
[INFO] 
[INFO] -----------------< com.influxdb:influxdb-client-osgi >------------------
[INFO] Building The OSGi InfluxDB 2.0 Client 4.2.0-SNAPSHOT             [11/18]
[INFO] -------------------------------[ bundle ]-------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-client-osgi ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   ch.qos.logback:logback-classic ....................... 1.2.3 -> 1.2.10
[INFO]   org.osgi:org.osgi.service.component.annotations ....... 1.3.0 -> 1.5.0
[INFO]   org.osgi:org.osgi.service.metatype.annotations ........ 1.3.0 -> 1.4.1
[INFO]   org.osgi:osgi.cmpn .................................... 6.0.0 -> 7.0.0
[INFO]   org.osgi:osgi.core .................................... 6.0.0 -> 8.0.0
[INFO]   org.projectlombok:lombok .......................... 1.18.20 -> 1.18.22
[INFO]   org.slf4j:slf4j-api ................................. 1.7.32 -> 1.7.35
[INFO] 
[INFO] 
[INFO] --------------------< com.influxdb:influxdb-karaf >---------------------
[INFO] Building Apache Karaf Integration for InfluxDB 2.0 4.2.0-SNAPSHOT [12/18]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-karaf ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   org.apache.karaf.features:framework .................. 4.2.11 -> 4.3.6
[INFO]   org.apache.karaf.features:standard ................... 4.2.11 -> 4.3.6
[INFO] 
[INFO] 
[INFO] ----------------< com.influxdb:influxdb-karaf-features >----------------
[INFO] Building Apache Karaf Features for InfluxDB 2.0 4.2.0-SNAPSHOT   [13/18]
[INFO] ------------------------------[ feature ]-------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-karaf-features ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   org.apache.karaf.features:framework .................. 4.2.11 -> 4.3.6
[INFO]   org.apache.karaf.features:standard ................... 4.2.11 -> 4.3.6
[INFO] 
[INFO] 
[INFO] ------------------< com.influxdb:influxdb-karaf-kar >-------------------
[INFO] Building Apache Karaf KAR for InfluxDB 2.0 4.2.0-SNAPSHOT        [14/18]
[INFO] --------------------------------[ kar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-karaf-kar ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   org.apache.karaf.features:framework .................. 4.2.11 -> 4.3.6
[INFO]   org.apache.karaf.features:standard ................... 4.2.11 -> 4.3.6
[INFO] 
[INFO] 
[INFO] ----------------< com.influxdb:influxdb-karaf-assembly >----------------
[INFO] Building Apache Karaf Assembly for InfluxDB 2.0 4.2.0-SNAPSHOT   [15/18]
[INFO] ---------------------------[ karaf-assembly ]---------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-karaf-assembly ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   org.apache.karaf.features:framework .................. 4.2.11 -> 4.3.6
[INFO]   org.apache.karaf.features:standard ................... 4.2.11 -> 4.3.6
[INFO] 
[INFO] 
[INFO] --------------------< com.influxdb:influxdb-spring >--------------------
[INFO] Building Spring Integration for InfluxDB 2.0 4.2.0-SNAPSHOT      [16/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ influxdb-spring ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   io.micrometer:micrometer-registry-influx .............. 1.7.0 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 2.25.1 -> 4.3.1
[INFO]   org.springframework:spring-test ...................... 5.3.7 -> 5.3.15
[INFO]   org.springframework.boot:spring-boot-actuator-autoconfigure ...
[INFO]                                                           2.4.6 -> 2.6.3
[INFO]   org.springframework.boot:spring-boot-configuration-processor ...
[INFO]                                                           2.4.6 -> 2.6.3
[INFO]   org.springframework.boot:spring-boot-test ............. 2.4.6 -> 2.6.3
[INFO] 
[INFO] 
[INFO] -----------------------< com.influxdb:flux-dsl >------------------------
[INFO] Building The Flux DSL 4.2.0-SNAPSHOT                             [17/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ flux-dsl ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] 
[INFO] -----------------------< com.influxdb:examples >------------------------
[INFO] Building examples 4.2.0-SNAPSHOT                                 [18/18]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- versions-maven-plugin:2.7:display-dependency-updates (default-cli) @ examples ---
[INFO] The following dependencies in Dependency Management have newer versions:
[INFO]   com.squareup.okio:okio ............................... 2.10.0 -> 3.0.0
[INFO]   org.jetbrains.kotlinx:kotlinx-coroutines-core ...
[INFO]                                                 1.6.0 -> 1.6.0-native-mt
[INFO]   org.junit.jupiter:junit-jupiter-engine ................ 5.7.2 -> 5.8.2
[INFO]   org.junit.platform:junit-platform-runner .............. 1.7.2 -> 1.8.2
[INFO]   org.mockito:mockito-core ............................. 3.12.4 -> 4.3.1
[INFO]   org.mockito:mockito-junit-jupiter .................... 3.11.2 -> 4.3.1
[INFO] 
[INFO] The following dependencies in Dependencies have newer versions:
[INFO]   commons-cli:commons-cli ................................. 1.4 -> 1.5.0
[INFO]   commons-io:commons-io .................................. 2.7 -> 2.11.0
[INFO]   org.apache.commons:commons-lang3 ...................... 3.10 -> 3.12.0
[INFO]   org.junit.jupiter:junit-jupiter-api ................... 5.7.2 -> 5.8.2
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for The InfluxDB 2.0 JVM Based Clients 4.2.0-SNAPSHOT:
[INFO] 
[INFO] The InfluxDB 2.0 JVM Based Clients ................. SUCCESS [  0.294 s]
[INFO] The InfluxDB Client Utils .......................... SUCCESS [  0.021 s]
[INFO] The InfluxDB Client Test Tools ..................... SUCCESS [  0.019 s]
[INFO] The InfluxDB Client Core ........................... SUCCESS [  0.015 s]
[INFO] The InfluxDB 1.7+ Flux Client ...................... SUCCESS [  0.018 s]
[INFO] The Java InfluxDB 2.0 Client ....................... SUCCESS [  0.024 s]
[INFO] The RxJava InfluxDB 2.0 Client ..................... SUCCESS [  0.011 s]
[INFO] The Kotlin InfluxDB 2.0 Client ..................... SUCCESS [  0.019 s]
[INFO] The Scala InfluxDB 2.0 Client [Scala 2.12] ......... SUCCESS [  0.018 s]
[INFO] The Scala InfluxDB 2.0 Client [Scala 2.13] ......... SUCCESS [  0.014 s]
[INFO] The OSGi InfluxDB 2.0 Client ....................... SUCCESS [  0.093 s]
[INFO] Apache Karaf Integration for InfluxDB 2.0 .......... SUCCESS [  0.010 s]
[INFO] Apache Karaf Features for InfluxDB 2.0 ............. SUCCESS [  0.093 s]
[INFO] Apache Karaf KAR for InfluxDB 2.0 .................. SUCCESS [  0.009 s]
[INFO] Apache Karaf Assembly for InfluxDB 2.0 ............. SUCCESS [  0.015 s]
[INFO] Spring Integration for InfluxDB 2.0 ................ SUCCESS [  0.012 s]
[INFO] The Flux DSL ....................................... SUCCESS [  0.009 s]
[INFO] examples ........................................... SUCCESS [  0.012 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.601 s
[INFO] Finished at: 2022-01-31T13:36:44+01:00
[INFO] ------------------------------------------------------------------------

@rhajek rhajek marked this pull request as ready for review February 1, 2022 10:15
@rhajek rhajek added this to the 5.0.0 milestone Feb 1, 2022
@bednar bednar removed this from the 5.0.0 milestone Feb 4, 2022
Copy link
Contributor

@bednar bednar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The upgrade to rxjava3 is breaking change, please update the major version of the client and add notes about migration into CHANGELOG.md.

@rhajek rhajek requested a review from bednar April 4, 2022 14:15
Copy link
Contributor

@bednar bednar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants