Skip to content

Commit ba38559

Browse files
committed
Update milestones
Signed-off-by: Soby Chacko <[email protected]>
1 parent 85b3aee commit ba38559

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlinVersion = '2.1.21'
2+
ext.kotlinVersion = '2.2.0'
33
ext.isCI = System.getenv('GITHUB_ACTION')
44
repositories {
55
gradlePluginPortal()
@@ -54,7 +54,7 @@ ext {
5454
assertjVersion = '3.27.3'
5555
awaitilityVersion = '4.3.0'
5656
hamcrestVersion = '3.0'
57-
hibernateValidationVersion = '8.0.2.Final'
57+
hibernateValidationVersion = '9.0.1.Final'
5858
jacksonBomVersion = '2.19.2'
5959
jaywayJsonPathVersion = '2.9.0'
6060
junit4Version = '4.13.2'
@@ -63,15 +63,15 @@ ext {
6363
kotlinCoroutinesVersion = '1.10.2'
6464
log4jVersion = '2.24.3'
6565
micrometerDocsVersion = '1.0.4'
66-
micrometerVersion = '1.15.2'
67-
micrometerTracingVersion = '1.5.2'
66+
micrometerVersion = '1.16.0-M1'
67+
micrometerTracingVersion = '1.6.0-M1'
6868
mockitoVersion = '5.18.0'
69-
reactorVersion = '2025.0.0-SNAPSHOT'
69+
reactorVersion = '2025.0.0-M5'
7070
scalaVersion = '2.13'
7171
springBootVersion = '3.5.0' // docs module
72-
springDataVersion = '2025.1.0-SNAPSHOT'
72+
springDataVersion = '2025.1.0-M4'
7373
springRetryVersion = '2.0.12'
74-
springVersion = '7.0.0-SNAPSHOT'
74+
springVersion = '7.0.0-M7'
7575

7676
idPrefix = 'kafka'
7777

spring-kafka/src/main/java/org/springframework/kafka/listener/adapter/MessagingMessageListenerAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ else if (!(result instanceof CompletableFuture<?>)) {
559559
}
560560
else {
561561
Throwable cause = t instanceof CompletionException ? t.getCause() : t;
562+
Assert.notNull(cause, "Cause must not be null");
562563
observation.error(cause);
563564
asyncFailure(request, acknowledgment, consumer, cause, source);
564565
}

spring-kafka/src/main/java/org/springframework/kafka/support/micrometer/MicrometerHolder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public MicrometerHolder(@Nullable ApplicationContext context, String name,
9393
* @return the sample.
9494
*/
9595
public Object start() {
96+
Assert.notNull(this.registry, "No micrometer registry present");
9697
return Timer.start(this.registry);
9798
}
9899

@@ -157,6 +158,7 @@ private Timer buildTimer(String exception, @Nullable Object record) {
157158
if (extra != null && !extra.isEmpty()) {
158159
extra.forEach(builder::tag);
159160
}
161+
Assert.notNull(this.registry, "No micrometer registry present");
160162
Timer registeredTimer = builder.register(this.registry);
161163
if (record == null) {
162164
this.meters.put(exception, registeredTimer);

0 commit comments

Comments
 (0)