builtin:kafka.capturing)Enables capturing of Kafka consumer headers. Only supported by the Java code module at the moment.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:kafka.capturing | - | environment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:kafka.capturing |
| SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:kafka.capturing | |
| Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:kafka.capturing |
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.
| Property | Type | Description | Required |
|---|---|---|---|
Kafka Consumer Header Capturing RulesconsumerHeadersToCapture | ConsumerHeaderCapturingRule[] | Rule to capture a Kafka Header when consuming | required |
ConsumerHeaderCapturingRule object| Property | Type | Description | Required |
|---|---|---|---|
Consumer header namename | text | - | required |
Kafka Header Formatformat | enum |
| required |