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
{{ message }}
Repository navigation
Commit f1a44de
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry-noagent/src/test/kotlin/io/sentry/systemtest/KafkaOtelCoexistenceSystemTest.kt
+15-19Lines changed: 15 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,6 @@ import kotlin.test.Test
5
5
importkotlin.test.assertEquals
6
6
importorg.junit.Before
7
7
8
-
/**
9
-
* System tests for Kafka queue instrumentation on the OTel Jakarta noagent sample.
10
-
*
11
-
* The Sentry Kafka auto-configuration (`SentryKafkaQueueConfiguration`) is intentionally suppressed
12
-
* when `io.sentry.opentelemetry.SentryAutoConfigurationCustomizerProvider` is on the classpath, so
13
-
* the Sentry `SentryKafkaProducer` and `SentryKafkaRecordInterceptor` must not be wired.
14
-
*
15
-
* These tests produce a Kafka message end-to-end and assert that Sentry-style `queue.publish` /
16
-
* `queue.process` spans/transactions are *not* emitted. Any Kafka telemetry in OTel mode must come
17
-
* from the OTel Kafka instrumentation, not from the Sentry Kafka integration.
18
-
*
19
-
* Requires:
20
-
* - The sample app running with `--spring.profiles.active=kafka`
21
-
* - A Kafka broker at localhost:9092
22
-
* - The mock Sentry server at localhost:8000
23
-
*/
24
8
classKafkaOtelCoexistenceSystemTest {
25
9
lateinitvar testHelper:TestHelper
26
10
@@ -37,9 +21,21 @@ class KafkaOtelCoexistenceSystemTest {
Copy file name to clipboardExpand all lines: sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry/src/test/kotlin/io/sentry/systemtest/KafkaOtelCoexistenceSystemTest.kt
+15-19Lines changed: 15 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -5,22 +5,6 @@ import kotlin.test.Test
5
5
importkotlin.test.assertEquals
6
6
importorg.junit.Before
7
7
8
-
/**
9
-
* System tests for Kafka queue instrumentation on the OTel Jakarta sample.
10
-
*
11
-
* The Sentry Kafka auto-configuration (`SentryKafkaQueueConfiguration`) is intentionally suppressed
12
-
* when `io.sentry.opentelemetry.SentryAutoConfigurationCustomizerProvider` is on the classpath, so
13
-
* the Sentry `SentryKafkaProducer` and `SentryKafkaRecordInterceptor` must not be wired.
14
-
*
15
-
* These tests produce a Kafka message end-to-end and assert that Sentry-style `queue.publish` /
16
-
* `queue.process` spans/transactions are *not* emitted. Any Kafka telemetry in OTel mode must come
17
-
* from the OTel Kafka instrumentation, not from the Sentry Kafka integration.
18
-
*
19
-
* Requires:
20
-
* - The sample app running with `--spring.profiles.active=kafka`
21
-
* - A Kafka broker at localhost:9092
22
-
* - The mock Sentry server at localhost:8000
23
-
*/
24
8
classKafkaOtelCoexistenceSystemTest {
25
9
lateinitvar testHelper:TestHelper
26
10
@@ -37,9 +21,21 @@ class KafkaOtelCoexistenceSystemTest {
Copy file name to clipboardExpand all lines: sentry-spring-boot-jakarta/src/test/kotlin/io/sentry/spring/boot/jakarta/SentryKafkaAutoConfigurationTest.kt
0 commit comments