# Kafka OTLP

### Supported Platforms

| Platform | Metrics | Logs | Traces |
| -------- | ------- | ---- | ------ |
| Linux    | ✓       | ✓    | ✓      |
| Windows  | ✓       | ✓    | ✓      |
| macOS    | ✓       | ✓    | ✓      |

### Configuration Table

No encoding field for metric events is available because the only option, `otlp_proto`, is set by default.

| Parameter               | Type                | Default                         | Description                                                                                                                                                                                                                                                          |
| ----------------------- | ------------------- | ------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| telemetry\_types        | `telemetrySelector` | `["Logs", "Metrics", "Traces"]` | Choose Telemetry Type.                                                                                                                                                                                                                                               |
| protocol\_version       | `enum`              | "2.0.0"                         | The Kafka protocol version to use when communicating with brokers. Valid values are: `"2.2.1"`, `"2.2.0"`, `"2.0.0"`, or `"1.0.0"`.                                                                                                                                  |
| brokers                 | `strings`           | localhost:9092                  | List of brokers to connect and subscribe to for metrics, traces, and logs.                                                                                                                                                                                           |
| group\_id               | `string`            | otel-collector                  | Consumer group to consume messages from.                                                                                                                                                                                                                             |
| client\_id              | `string`            | otel-collector                  | The consumer client ID that the receiver will use.                                                                                                                                                                                                                   |
| log\_topics             | `strings`           | otlp\_logs                      | The topic name for subscribing to log events.                                                                                                                                                                                                                        |
| log\_encoding           | `enum`              | otlp\_proto                     | The encoding of the log event pulled from the Kafka topic. `otlp_proto`, `raw`, `text`, or `json`                                                                                                                                                                    |
| log\_text\_encoding     | `enum`              | utf-8                           | The text encoding to use when `text` is selected for log\_encoding. Common values are: `nop`, `utf-8`, `utf-16le`, `utf-16be`, `ascii`, or `big5` but other [IANA](https://www.iana.org/assignments/character-sets/character-sets.xhtml) encodings may be specified. |
| metric\_topics          | `strings`           | otlp\_metrics                   | The topic name for subscribing to metric events.                                                                                                                                                                                                                     |
| metric\_encoding        | `enum`              | otlp\_proto                     | The encoding of the metric event pulled from the topic. `otlp_proto` or `otlp_json`                                                                                                                                                                                  |
| trace\_topics           | `string`            | otlp\_spans                     | The topic name for subscribing to trace events.                                                                                                                                                                                                                      |
| trace\_encoding         | `enum`              | otlp\_proto                     | The encoding of the trace event pulled from the Kafka topic. `otlp_proto`, `jaeger_proto`, `jaeger_json`, `zipkin_proto`, `zipkin_json`, or `zipkin_thrift`                                                                                                          |
| enable\_auth            | `bool`              | false                           |                                                                                                                                                                                                                                                                      |
| auth\_type              | `enum`              | basic                           | `basic`, `sasl`, or `kerberos`                                                                                                                                                                                                                                       |
| basic\_username         | `string`            |                                 |                                                                                                                                                                                                                                                                      |
| basic\_password         | `string`            |                                 |                                                                                                                                                                                                                                                                      |
| sasl\_username          | `string`            |                                 |                                                                                                                                                                                                                                                                      |
| sasl\_password          | `enum`              |                                 |                                                                                                                                                                                                                                                                      |
| sasl\_mechanism         | `string`            | SCRAM-SHA-256                   | `SCRAM-SHA-256`, `SCRAM-SHA-512`, or `PLAIN`                                                                                                                                                                                                                         |
| kerberos\_service\_name | `string`            |                                 |                                                                                                                                                                                                                                                                      |
| kerberos\_realm         | `string`            |                                 |                                                                                                                                                                                                                                                                      |
| kerberos\_config\_file  | `string`            | /etc/krb5.conf                  |                                                                                                                                                                                                                                                                      |
| kerberos\_auth\_type    | `enum`              | keytab                          | `keytab` or `basic`                                                                                                                                                                                                                                                  |
| kerberos\_keytab\_file  | `string`            | /etc/security/kafka.keytab      |                                                                                                                                                                                                                                                                      |
| kerberos\_username      | `string`            |                                 |                                                                                                                                                                                                                                                                      |
| kerberos\_password      | `string`            |                                 |                                                                                                                                                                                                                                                                      |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bindplane.com/integrations/sources/kafka-otlp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
