You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kafkaconnect/v2_6/KafkaConnectAttributesGetter.java
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -54,9 +54,6 @@ public String getConversationId(KafkaConnectTask request) {
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kafkaconnect/v2_6/KafkaConnectBatchProcessSpanLinksExtractor.java
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kafkaconnect/v2_6/KafkaConnectTask.java
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -23,30 +23,16 @@ public Collection<SinkRecord> getRecords() {
23
23
returnrecords;
24
24
}
25
25
26
-
/**
27
-
* Returns the first record in the batch, used for extracting destination information. Note:
28
-
* Records in a batch can come from multiple topics, so this should only be used when you need a
29
-
* representative record, not for definitive topic information.
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kafkaconnect/v2_6/SinkRecordHeadersGetter.java
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,6 @@
12
12
importorg.apache.kafka.connect.header.Header;
13
13
importorg.apache.kafka.connect.sink.SinkRecord;
14
14
15
-
/**
16
-
* Extracts trace context from Kafka Connect SinkRecord headers for distributed tracing. This
17
-
* enables proper trace propagation from the original producer through Kafka Connect processing.
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/kafkaconnect/v2_6/SinkTaskInstrumentation.java
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -46,10 +46,6 @@ public static void onEnter(
46
46
@Advice.Local("otelContext") Contextcontext,
47
47
@Advice.Local("otelScope") Scopescope) {
48
48
49
-
// For batch processing from multiple traces, use root context instead of extracting
50
-
// from first record to avoid creating incorrect parent-child relationships.
51
-
// Relationships are maintained through span links (see
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/testing/src/test/java/io/opentelemetry/instrumentation/kafkaconnect/v2_6/KafkaConnectSinkTaskTestBase.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ public abstract class KafkaConnectSinkTaskTestBase implements TelemetryRetriever
Copy file name to clipboardExpand all lines: instrumentation/kafka/kafka-connect-2.6/testing/src/test/java/io/opentelemetry/instrumentation/kafkaconnect/v2_6/MongoKafkaConnectSinkTaskTest.java
0 commit comments