Skip to content

Commit bd8b82e

Browse files
committed
Some upgrades; prepare for release
* Upgrade to `com.gradle.develocity` plugin * Fix upgrade for Micrometer dependencies into `1.3.0` & `1.13.0` since Dependabot has jumped to the next SNAPSHOT somehow * Fix compilation warning in the `KafkaTemplate.observeSend()` for unused `AutoClosable` resource - the `@SuppressWarnings("try")` is enough for the logic
1 parent 9781517 commit bd8b82e

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ ext {
6363
kotlinCoroutinesVersion = '1.8.1'
6464
log4jVersion = '2.23.1'
6565
micrometerDocsVersion = '1.0.2'
66-
micrometerVersion = '1.13.1-SNAPSHOT'
67-
micrometerTracingVersion = '1.3.1-SNAPSHOT'
66+
micrometerVersion = '1.13.0'
67+
micrometerTracingVersion = '1.3.0'
6868
mockitoVersion = '5.10.0'
6969
reactorVersion = '2023.0.6'
7070
scalaVersion = '2.13'

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ pluginManagement {
77
}
88

99
plugins {
10-
id 'com.gradle.enterprise' version '3.17.4'
10+
id 'com.gradle.develocity' version '3.17.4'
1111
id 'io.spring.ge.conventions' version '0.0.17'
1212
}
1313

spring-kafka/src/main/java/org/springframework/kafka/core/KafkaTemplate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -761,6 +761,7 @@ protected void closeProducer(Producer<K, V> producer, boolean inTx) {
761761
}
762762
}
763763

764+
@SuppressWarnings("try")
764765
private CompletableFuture<SendResult<K, V>> observeSend(final ProducerRecord<K, V> producerRecord) {
765766
Observation observation = KafkaTemplateObservation.TEMPLATE_OBSERVATION.observation(
766767
this.observationConvention, DefaultKafkaTemplateObservationConvention.INSTANCE,

0 commit comments

Comments
 (0)