> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeycomb.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Kafka OTLP

<Badge className="hny-badge-enterprise-addon" stroke>Ent+</Badge>

<Note>
  This feature is available as an add-on for the [Honeycomb Enterprise plan](https://www.honeycomb.io/pricing/).
  Please contact your Honeycomb account team for details.
</Note>

## 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\_topic              | `string`            | 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`                                                           |
| metric\_topic           | `string`            | otlp\_metrics                   | The topic name for subscribing to metric events.                                                                                                            |
| trace\_topic            | `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`            |                                 |                                                                                                                                                             |
