File tree 9 files changed +31
-32
lines changed
main/java/org/springframework/kafka
test/java/org/springframework/kafka
9 files changed +31
-32
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-M2 '
69
+ micrometerVersion = ' 2.0.0-M1 '
70
70
mockitoVersion = ' 4.0.0'
71
71
reactorVersion = ' 2020.0.16'
72
72
scalaVersion = ' 2.13'
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020-2022 the original author or authors.
2
+ * Copyright 2020 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 .api .instrument .ImmutableTag ;
28
- import io .micrometer .api .instrument .MeterRegistry ;
29
- import io .micrometer .api .instrument .Tag ;
27
+ import io .micrometer .core .instrument .ImmutableTag ;
28
+ import io .micrometer .core .instrument .MeterRegistry ;
29
+ import io .micrometer .core .instrument .Tag ;
30
30
import io .micrometer .core .instrument .binder .kafka .KafkaClientMetrics ;
31
31
32
32
/**
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020-2022 the original author or authors.
2
+ * Copyright 2020 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 .api .instrument .ImmutableTag ;
28
- import io .micrometer .api .instrument .MeterRegistry ;
29
- import io .micrometer .api .instrument .Tag ;
27
+ import io .micrometer .core .instrument .ImmutableTag ;
28
+ import io .micrometer .core .instrument .MeterRegistry ;
29
+ import io .micrometer .core .instrument .Tag ;
30
30
import io .micrometer .core .instrument .binder .kafka .KafkaClientMetrics ;
31
31
32
32
/**
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020-2022 the original author or authors.
2
+ * Copyright 2020 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 .api .instrument .ImmutableTag ;
30
- import io .micrometer .api .instrument .MeterRegistry ;
31
- import io .micrometer .api .instrument .Tag ;
29
+ import io .micrometer .core .instrument .ImmutableTag ;
30
+ import io .micrometer .core .instrument .MeterRegistry ;
31
+ import io .micrometer .core .instrument .Tag ;
32
32
import io .micrometer .core .instrument .binder .kafka .KafkaStreamsMetrics ;
33
33
34
34
/**
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2018-2022 the original author or authors.
2
+ * Copyright 2018-2021 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.
@@ -42,7 +42,7 @@ public final class KafkaUtils {
42
42
* True if micrometer is on the class path.
43
43
*/
44
44
public static final boolean MICROMETER_PRESENT = ClassUtils .isPresent (
45
- "io.micrometer.api .instrument.MeterRegistry" , KafkaUtils .class .getClassLoader ());
45
+ "io.micrometer.core .instrument.MeterRegistry" , KafkaUtils .class .getClassLoader ());
46
46
47
47
private static final ThreadLocal <String > GROUP_IDS = new ThreadLocal <>();
48
48
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020-2022 the original author or authors.
2
+ * Copyright 2020 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.
22
22
import org .springframework .context .ApplicationContext ;
23
23
import org .springframework .lang .Nullable ;
24
24
25
- import io .micrometer .api .instrument .MeterRegistry ;
26
- import io .micrometer .api .instrument .Timer ;
27
- import io .micrometer .api .instrument .Timer .Builder ;
28
- import io .micrometer .api .instrument .Timer .Sample ;
29
-
25
+ import io .micrometer .core .instrument .MeterRegistry ;
26
+ import io .micrometer .core .instrument .Timer ;
27
+ import io .micrometer .core .instrument .Timer .Builder ;
28
+ import io .micrometer .core .instrument .Timer .Sample ;
30
29
31
30
/**
32
31
* A wrapper for micrometer timers when available on the class path.
Original file line number Diff line number Diff line change 156
156
import org .springframework .validation .Errors ;
157
157
import org .springframework .validation .Validator ;
158
158
159
- import io .micrometer .api .instrument .ImmutableTag ;
160
- import io .micrometer .api .instrument .MeterRegistry ;
161
- import io .micrometer .api .instrument .simple .SimpleMeterRegistry ;
159
+ import io .micrometer .core .instrument .ImmutableTag ;
160
+ import io .micrometer .core .instrument .MeterRegistry ;
161
+ import io .micrometer .core .instrument .simple .SimpleMeterRegistry ;
162
162
163
163
/**
164
164
* @author Gary Russell
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2018-2022 the original author or authors.
2
+ * Copyright 2018-2020 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.
51
51
import org .springframework .test .annotation .DirtiesContext ;
52
52
import org .springframework .test .context .junit .jupiter .SpringJUnitConfig ;
53
53
54
- import io .micrometer .api .instrument .ImmutableTag ;
55
- import io .micrometer .api .instrument .MeterRegistry ;
56
- import io .micrometer .api .instrument .simple .SimpleMeterRegistry ;
54
+ import io .micrometer .core .instrument .ImmutableTag ;
55
+ import io .micrometer .core .instrument .MeterRegistry ;
56
+ import io .micrometer .core .instrument .simple .SimpleMeterRegistry ;
57
57
58
58
/**
59
59
* @author Nurettin Yilmaz
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2020-2022 the original author or authors.
2
+ * Copyright 2020 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.
33
33
import org .springframework .context .ApplicationContext ;
34
34
import org .springframework .test .util .ReflectionTestUtils ;
35
35
36
- import io .micrometer .api .instrument .MeterRegistry ;
37
- import io .micrometer .api .instrument .Timer ;
38
- import io .micrometer .api .instrument .simple .SimpleMeterRegistry ;
36
+ import io .micrometer .core .instrument .MeterRegistry ;
37
+ import io .micrometer .core .instrument .Timer ;
38
+ import io .micrometer .core .instrument .simple .SimpleMeterRegistry ;
39
39
40
40
/**
41
41
* @author Vasyl Sarzhynskyi
You can’t perform that action at this time.
0 commit comments