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
This commit is contained in:
@@ -63,8 +63,8 @@ ext {
|
||||
kotlinCoroutinesVersion = '1.8.1'
|
||||
log4jVersion = '2.23.1'
|
||||
micrometerDocsVersion = '1.0.2'
|
||||
micrometerVersion = '1.13.1-SNAPSHOT'
|
||||
micrometerTracingVersion = '1.3.1-SNAPSHOT'
|
||||
micrometerVersion = '1.13.0'
|
||||
micrometerTracingVersion = '1.3.0'
|
||||
mockitoVersion = '5.10.0'
|
||||
reactorVersion = '2023.0.6'
|
||||
scalaVersion = '2.13'
|
||||
|
||||
@@ -7,7 +7,7 @@ pluginManagement {
|
||||
}
|
||||
|
||||
plugins {
|
||||
id 'com.gradle.enterprise' version '3.17.4'
|
||||
id 'com.gradle.develocity' version '3.17.4'
|
||||
id 'io.spring.ge.conventions' version '0.0.17'
|
||||
}
|
||||
|
||||
|
||||
@@ -761,6 +761,7 @@ public class KafkaTemplate<K, V> implements KafkaOperations<K, V>, ApplicationCo
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("try")
|
||||
private CompletableFuture<SendResult<K, V>> observeSend(final ProducerRecord<K, V> producerRecord) {
|
||||
Observation observation = KafkaTemplateObservation.TEMPLATE_OBSERVATION.observation(
|
||||
this.observationConvention, DefaultKafkaTemplateObservationConvention.INSTANCE,
|
||||
|
||||
Reference in New Issue
Block a user