mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-26 11:39:14 +00:00
Polish
This commit is contained in:
+2
-2
@@ -59,11 +59,11 @@ public class KafkaMetricsAutoConfiguration {
|
||||
}
|
||||
|
||||
private <K, V> void addListener(DefaultKafkaConsumerFactory<K, V> factory, MeterRegistry meterRegistry) {
|
||||
factory.addListener(new MicrometerConsumerListener<K, V>(meterRegistry));
|
||||
factory.addListener(new MicrometerConsumerListener<>(meterRegistry));
|
||||
}
|
||||
|
||||
private <K, V> void addListener(DefaultKafkaProducerFactory<K, V> factory, MeterRegistry meterRegistry) {
|
||||
factory.addListener(new MicrometerProducerListener<K, V>(meterRegistry));
|
||||
factory.addListener(new MicrometerProducerListener<>(meterRegistry));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user