Skip to content

Commit 9efbec6

Browse files
authored
Replace messaging.kafka.destination.partition with messaging.destination.partition.id (#11086)
1 parent 79d50d1 commit 9efbec6

File tree

15 files changed

+79
-123
lines changed

15 files changed

+79
-123
lines changed

instrumentation/camel-2.20/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachecamel/decorators/KafkaSpanDecorator.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ public String getDestination(Exchange exchange, Endpoint endpoint) {
5252
return topic != null ? topic : super.getDestination(exchange, endpoint);
5353
}
5454

55-
@SuppressWarnings("deprecation") // TODO
56-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
5755
@Override
5856
public void pre(
5957
AttributesBuilder attributes,
@@ -67,7 +65,7 @@ public void pre(
6765
Integer partition = exchange.getIn().getHeader(PARTITION, Integer.class);
6866
if (partition != null) {
6967
attributes.put(
70-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION, partition);
68+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID, partition.toString());
7169
}
7270

7371
if (CAPTURE_EXPERIMENTAL_SPAN_ATTRIBUTES) {

instrumentation/kafka/kafka-clients/kafka-clients-0.11/testing/src/main/java/io/opentelemetry/instrumentation/kafka/internal/KafkaClientBaseTest.java

+5-8
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
import org.apache.kafka.common.serialization.StringDeserializer;
3838
import org.apache.kafka.common.serialization.StringSerializer;
3939
import org.assertj.core.api.AbstractLongAssert;
40+
import org.assertj.core.api.AbstractStringAssert;
4041
import org.junit.jupiter.api.AfterAll;
4142
import org.junit.jupiter.api.BeforeAll;
4243
import org.junit.jupiter.api.TestInstance;
@@ -152,8 +153,6 @@ public void awaitUntilConsumerIsReady() throws InterruptedException {
152153
consumer.seekToBeginning(Collections.emptyList());
153154
}
154155

155-
@SuppressWarnings("deprecation") // TODO
156-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
157156
protected static List<AttributeAssertion> sendAttributes(
158157
String messageKey, String messageValue, boolean testHeaders) {
159158
List<AttributeAssertion> assertions =
@@ -166,8 +165,8 @@ protected static List<AttributeAssertion> sendAttributes(
166165
MessagingIncubatingAttributes.MESSAGING_CLIENT_ID,
167166
stringAssert -> stringAssert.startsWith("producer")),
168167
satisfies(
169-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
170-
AbstractLongAssert::isNotNegative),
168+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
169+
AbstractStringAssert::isNotEmpty),
171170
satisfies(
172171
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
173172
AbstractLongAssert::isNotNegative)));
@@ -214,8 +213,6 @@ protected static List<AttributeAssertion> receiveAttributes(boolean testHeaders)
214213
return assertions;
215214
}
216215

217-
@SuppressWarnings("deprecation") // TODO
218-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
219216
protected static List<AttributeAssertion> processAttributes(
220217
String messageKey, String messageValue, boolean testHeaders) {
221218
List<AttributeAssertion> assertions =
@@ -228,8 +225,8 @@ protected static List<AttributeAssertion> processAttributes(
228225
MessagingIncubatingAttributes.MESSAGING_CLIENT_ID,
229226
stringAssert -> stringAssert.startsWith("consumer")),
230227
satisfies(
231-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
232-
AbstractLongAssert::isNotNegative),
228+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
229+
AbstractStringAssert::isNotEmpty),
233230
satisfies(
234231
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
235232
AbstractLongAssert::isNotNegative),

instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/java/io/opentelemetry/instrumentation/kafkaclients/v2_6/InterceptorsSuppressReceiveSpansTest.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@
1212
import io.opentelemetry.semconv.incubating.MessagingIncubatingAttributes;
1313
import java.nio.charset.StandardCharsets;
1414
import org.assertj.core.api.AbstractLongAssert;
15+
import org.assertj.core.api.AbstractStringAssert;
1516

1617
class InterceptorsSuppressReceiveSpansTest extends AbstractInterceptorsTest {
1718

18-
@SuppressWarnings("deprecation") // TODO
19-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
2019
@Override
2120
void assertTraces() {
2221
testing.waitAndAssertTraces(
@@ -50,8 +49,8 @@ void assertTraces() {
5049
MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE,
5150
greeting.getBytes(StandardCharsets.UTF_8).length),
5251
satisfies(
53-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
54-
AbstractLongAssert::isNotNegative),
52+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
53+
AbstractStringAssert::isNotEmpty),
5554
satisfies(
5655
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
5756
AbstractLongAssert::isNotNegative),

instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/java/io/opentelemetry/instrumentation/kafkaclients/v2_6/InterceptorsTest.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,10 @@
1717
import java.nio.charset.StandardCharsets;
1818
import java.util.concurrent.atomic.AtomicReference;
1919
import org.assertj.core.api.AbstractLongAssert;
20+
import org.assertj.core.api.AbstractStringAssert;
2021

2122
class InterceptorsTest extends AbstractInterceptorsTest {
2223

23-
@SuppressWarnings("deprecation") // TODO
24-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
2524
@Override
2625
void assertTraces() {
2726
AtomicReference<SpanContext> producerSpanContext = new AtomicReference<>();
@@ -87,8 +86,8 @@ void assertTraces() {
8786
MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE,
8887
greeting.getBytes(StandardCharsets.UTF_8).length),
8988
satisfies(
90-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
91-
AbstractLongAssert::isNotNegative),
89+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
90+
AbstractStringAssert::isNotEmpty),
9291
satisfies(
9392
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
9493
AbstractLongAssert::isNotNegative),

instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/java/io/opentelemetry/instrumentation/kafkaclients/v2_6/WrapperSuppressReceiveSpansTest.java

+5-8
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import java.util.Collections;
1919
import java.util.List;
2020
import org.assertj.core.api.AbstractLongAssert;
21+
import org.assertj.core.api.AbstractStringAssert;
2122

2223
class WrapperSuppressReceiveSpansTest extends AbstractWrapperTest {
2324

@@ -52,8 +53,6 @@ void assertTraces(boolean testHeaders) {
5253
.hasParent(trace.getSpan(0))));
5354
}
5455

55-
@SuppressWarnings("deprecation") // TODO
56-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
5756
protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
5857
List<AttributeAssertion> assertions =
5958
new ArrayList<>(
@@ -65,8 +64,8 @@ protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
6564
MessagingIncubatingAttributes.MESSAGING_CLIENT_ID,
6665
stringAssert -> stringAssert.startsWith("producer")),
6766
satisfies(
68-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
69-
AbstractLongAssert::isNotNegative),
67+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
68+
AbstractStringAssert::isNotEmpty),
7069
satisfies(
7170
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
7271
AbstractLongAssert::isNotNegative)));
@@ -79,8 +78,6 @@ protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
7978
return assertions;
8079
}
8180

82-
@SuppressWarnings("deprecation") // TODO
83-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
8481
private static List<AttributeAssertion> processAttributes(String greeting, boolean testHeaders) {
8582
List<AttributeAssertion> assertions =
8683
new ArrayList<>(
@@ -92,8 +89,8 @@ private static List<AttributeAssertion> processAttributes(String greeting, boole
9289
MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE,
9390
greeting.getBytes(StandardCharsets.UTF_8).length),
9491
satisfies(
95-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
96-
AbstractLongAssert::isNotNegative),
92+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
93+
AbstractStringAssert::isNotEmpty),
9794
satisfies(
9895
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
9996
AbstractLongAssert::isNotNegative),

instrumentation/kafka/kafka-clients/kafka-clients-2.6/library/src/test/java/io/opentelemetry/instrumentation/kafkaclients/v2_6/WrapperTest.java

+5-8
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import java.util.List;
2323
import java.util.concurrent.atomic.AtomicReference;
2424
import org.assertj.core.api.AbstractLongAssert;
25+
import org.assertj.core.api.AbstractStringAssert;
2526

2627
class WrapperTest extends AbstractWrapperTest {
2728

@@ -74,8 +75,6 @@ void assertTraces(boolean testHeaders) {
7475
.hasParent(trace.getSpan(1))));
7576
}
7677

77-
@SuppressWarnings("deprecation") // TODO
78-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
7978
protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
8079
List<AttributeAssertion> assertions =
8180
new ArrayList<>(
@@ -87,8 +86,8 @@ protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
8786
MessagingIncubatingAttributes.MESSAGING_CLIENT_ID,
8887
stringAssert -> stringAssert.startsWith("producer")),
8988
satisfies(
90-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
91-
AbstractLongAssert::isNotNegative),
89+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
90+
AbstractStringAssert::isNotEmpty),
9291
satisfies(
9392
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
9493
AbstractLongAssert::isNotNegative)));
@@ -101,8 +100,6 @@ protected static List<AttributeAssertion> sendAttributes(boolean testHeaders) {
101100
return assertions;
102101
}
103102

104-
@SuppressWarnings("deprecation") // TODO
105-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
106103
private static List<AttributeAssertion> processAttributes(String greeting, boolean testHeaders) {
107104
List<AttributeAssertion> assertions =
108105
new ArrayList<>(
@@ -114,8 +111,8 @@ private static List<AttributeAssertion> processAttributes(String greeting, boole
114111
MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE,
115112
greeting.getBytes(StandardCharsets.UTF_8).length),
116113
satisfies(
117-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
118-
AbstractLongAssert::isNotNegative),
114+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
115+
AbstractStringAssert::isNotEmpty),
119116
satisfies(
120117
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET,
121118
AbstractLongAssert::isNotNegative),

instrumentation/kafka/kafka-clients/kafka-clients-common/library/src/main/java/io/opentelemetry/instrumentation/kafka/internal/KafkaConsumerAttributesExtractor.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,15 @@
1616
final class KafkaConsumerAttributesExtractor
1717
implements AttributesExtractor<KafkaProcessRequest, Void> {
1818

19-
@SuppressWarnings("deprecation") // TODO
20-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
2119
@Override
2220
public void onStart(
2321
AttributesBuilder attributes, Context parentContext, KafkaProcessRequest request) {
2422

2523
ConsumerRecord<?, ?> record = request.getRecord();
2624

2725
attributes.put(
28-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
29-
(long) record.partition());
26+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
27+
String.valueOf(record.partition()));
3028
attributes.put(MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET, record.offset());
3129

3230
Object key = record.key();

instrumentation/kafka/kafka-clients/kafka-clients-common/library/src/main/java/io/opentelemetry/instrumentation/kafka/internal/KafkaProducerAttributesExtractor.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@ private static boolean canSerialize(Class<?> keyClass) {
3535
return !(keyClass.isArray() || keyClass == ByteBuffer.class);
3636
}
3737

38-
@SuppressWarnings("deprecation") // TODO
39-
// MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
4038
@Override
4139
public void onEnd(
4240
AttributesBuilder attributes,
@@ -47,8 +45,8 @@ public void onEnd(
4745

4846
if (recordMetadata != null) {
4947
attributes.put(
50-
MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION,
51-
recordMetadata.partition());
48+
MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID,
49+
String.valueOf(recordMetadata.partition()));
5250
attributes.put(
5351
MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET, recordMetadata.offset());
5452
}

instrumentation/kafka/kafka-streams-0.11/javaagent/src/test/groovy/KafkaStreamsDefaultTest.groovy

+4-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import static io.opentelemetry.api.trace.SpanKind.PRODUCER
2424

2525
class KafkaStreamsDefaultTest extends KafkaStreamsBaseTest {
2626

27-
@SuppressWarnings("deprecation") // TODO MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
2827
def "test kafka produce and consume with streams in-between"() {
2928
setup:
3029
def config = new Properties()
@@ -102,7 +101,7 @@ class KafkaStreamsDefaultTest extends KafkaStreamsBaseTest {
102101
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME" STREAM_PENDING
103102
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "publish"
104103
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" { it.startsWith("producer") }
105-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
104+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
106105
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
107106
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_KEY" "10"
108107
}
@@ -139,7 +138,7 @@ class KafkaStreamsDefaultTest extends KafkaStreamsBaseTest {
139138
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "process"
140139
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" { it.endsWith("consumer") }
141140
"$MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE" Long
142-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
141+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
143142
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
144143
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_KEY" "10"
145144
"kafka.record.queue_time_ms" { it >= 0 }
@@ -159,7 +158,7 @@ class KafkaStreamsDefaultTest extends KafkaStreamsBaseTest {
159158
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME" STREAM_PROCESSED
160159
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "publish"
161160
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" { it.endsWith("producer") }
162-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
161+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
163162
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
164163
}
165164
}
@@ -195,7 +194,7 @@ class KafkaStreamsDefaultTest extends KafkaStreamsBaseTest {
195194
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "process"
196195
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" { it.startsWith("consumer") }
197196
"$MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE" Long
198-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
197+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
199198
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
200199
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_KEY" "10"
201200
if (Boolean.getBoolean("testLatestDeps")) {

instrumentation/kafka/kafka-streams-0.11/javaagent/src/test/groovy/KafkaStreamsSuppressReceiveSpansTest.groovy

+4-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import static io.opentelemetry.api.trace.SpanKind.PRODUCER
2424

2525
class KafkaStreamsSuppressReceiveSpansTest extends KafkaStreamsBaseTest {
2626

27-
@SuppressWarnings("deprecation") // TODO MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION deprecation
2827
def "test kafka produce and consume with streams in-between"() {
2928
setup:
3029
def config = new Properties()
@@ -97,7 +96,7 @@ class KafkaStreamsSuppressReceiveSpansTest extends KafkaStreamsBaseTest {
9796
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME" STREAM_PENDING
9897
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "publish"
9998
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" "producer-1"
100-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
99+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
101100
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
102101
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_KEY" "10"
103102
}
@@ -113,7 +112,7 @@ class KafkaStreamsSuppressReceiveSpansTest extends KafkaStreamsBaseTest {
113112
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "process"
114113
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" { it.endsWith("consumer") }
115114
"$MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE" Long
116-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
115+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
117116
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
118117
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_KEY" "10"
119118
"kafka.record.queue_time_ms" { it >= 0 }
@@ -136,7 +135,7 @@ class KafkaStreamsSuppressReceiveSpansTest extends KafkaStreamsBaseTest {
136135
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME" STREAM_PROCESSED
137136
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "publish"
138137
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" String
139-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
138+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
140139
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
141140
}
142141
}
@@ -151,7 +150,7 @@ class KafkaStreamsSuppressReceiveSpansTest extends KafkaStreamsBaseTest {
151150
"$MessagingIncubatingAttributes.MESSAGING_OPERATION" "process"
152151
"$MessagingIncubatingAttributes.MESSAGING_CLIENT_ID" { it.startsWith("consumer") }
153152
"$MessagingIncubatingAttributes.MESSAGING_MESSAGE_BODY_SIZE" Long
154-
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_DESTINATION_PARTITION" { it >= 0 }
153+
"$MessagingIncubatingAttributes.MESSAGING_DESTINATION_PARTITION_ID" String
155154
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_OFFSET" 0
156155
"$MessagingIncubatingAttributes.MESSAGING_KAFKA_MESSAGE_KEY" "10"
157156
if (Boolean.getBoolean("testLatestDeps")) {

0 commit comments

Comments
 (0)