File tree 4 files changed +8
-7
lines changed
spring-kafka/src/main/java/org/springframework/kafka
4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 66
66
junitJupiterVersion = ' 5.8.2'
67
67
kafkaVersion = ' 3.1.0'
68
68
log4jVersion = ' 2.17.1'
69
- micrometerVersion = ' 2.0.0-M1 '
69
+ micrometerVersion = ' 2.0.0-SNAPSHOT '
70
70
mockitoVersion = ' 4.0.0'
71
71
reactorVersion = ' 2020.0.16'
72
72
scalaVersion = ' 2.13'
@@ -338,6 +338,7 @@ project ('spring-kafka') {
338
338
optionalApi ' io.projectreactor:reactor-core'
339
339
optionalApi ' io.projectreactor.kafka:reactor-kafka'
340
340
optionalApi " io.micrometer:micrometer-core:$micrometerVersion "
341
+ optionalApi " io.micrometer:micrometer-binders:$micrometerVersion "
341
342
342
343
testImplementation project (' :spring-kafka-test' )
343
344
testImplementation ' io.projectreactor:reactor-test'
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020 the original author or authors.
2
+ * Copyright 2020-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
24
24
25
25
import org .apache .kafka .clients .consumer .Consumer ;
26
26
27
+ import io .micrometer .binder .kafka .KafkaClientMetrics ;
27
28
import io .micrometer .core .instrument .ImmutableTag ;
28
29
import io .micrometer .core .instrument .MeterRegistry ;
29
30
import io .micrometer .core .instrument .Tag ;
30
- import io .micrometer .core .instrument .binder .kafka .KafkaClientMetrics ;
31
31
32
32
/**
33
33
* A consumer factory listener that manages {@link KafkaClientMetrics}.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020 the original author or authors.
2
+ * Copyright 2020-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
24
24
25
25
import org .apache .kafka .clients .producer .Producer ;
26
26
27
+ import io .micrometer .binder .kafka .KafkaClientMetrics ;
27
28
import io .micrometer .core .instrument .ImmutableTag ;
28
29
import io .micrometer .core .instrument .MeterRegistry ;
29
30
import io .micrometer .core .instrument .Tag ;
30
- import io .micrometer .core .instrument .binder .kafka .KafkaClientMetrics ;
31
31
32
32
/**
33
33
* A producer factory listener that manages {@link KafkaClientMetrics}.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020 the original author or authors.
2
+ * Copyright 2020-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
26
26
27
27
import org .springframework .kafka .config .StreamsBuilderFactoryBean ;
28
28
29
+ import io .micrometer .binder .kafka .KafkaStreamsMetrics ;
29
30
import io .micrometer .core .instrument .ImmutableTag ;
30
31
import io .micrometer .core .instrument .MeterRegistry ;
31
32
import io .micrometer .core .instrument .Tag ;
32
- import io .micrometer .core .instrument .binder .kafka .KafkaStreamsMetrics ;
33
33
34
34
/**
35
35
* Creates a {@link KafkaStreamsMetrics} for the {@link KafkaStreams}.
You can’t perform that action at this time.
0 commit comments