Skip to content

Commit 2d6fce9

Browse files
authored
[chore][receiver/kafka] fix typo in logs.topic documentation (#45478)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Fix typo in `logs.topic` documentation Signed-off-by: Paulo Dias <paulodias.gm@gmail.com>
1 parent 4e65f41 commit 2d6fce9

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

receiver/kafkareceiver/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,36 +41,36 @@ The following settings can be optionally configured:
4141
- `protocol_version` (default = 2.1.0): Kafka protocol version.
4242
- `resolve_canonical_bootstrap_servers_only` (default = false): Whether to resolve then reverse-lookup broker IPs during startup
4343
- `logs`
44-
- `topic` (Deprecated [v0.142.0]: use `topics`)
45-
(default = otlp\logs): If this is set, it will take precedence over default value of `topics`
46-
- `topics` (default = otlp\_logs): List of kafka topics from which to consume logs
44+
- `topic` (Deprecated [v0.142.0]: use `topics`)
45+
(default = otlp\_logs): If this is set, it will take precedence over default value of `topics`
46+
- `topics` (default = otlp\_logs): List of kafka topics from which to consume logs
4747
- `encoding` (default = otlp\_proto): The encoding for the Kafka topic. See [Supported encodings](#supported-encodings).
48-
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
48+
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
4949
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
5050
- `exclude_topics` (default = ""): When using regex topic patterns (prefix with `^`), this regex pattern excludes matching topics.
5151
- `metrics`
52-
- `topic` (Deprecated [v0.142.0]: use `topics`)
52+
- `topic` (Deprecated [v0.142.0]: use `topics`)
5353
(default = otlp\_metrics): If this is set, it will take precedence over default value of `topics`
5454
- `topics` (default = otlp\_metrics): List of Kafka topic from which to consume metrics.
5555
- `encoding` (default = otlp\_proto): The encoding for the Kafka topic. See [Supported encodings](#supported-encodings).
56-
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
57-
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
56+
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
57+
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
5858
- `exclude_topics` (default = ""): When using regex topic patterns (prefix with `^`), this regex pattern excludes matching topics.
5959
- `traces`
60-
- `topic` (Deprecated [v0.142.0]: use `topics`)
60+
- `topic` (Deprecated [v0.142.0]: use `topics`)
6161
(default = otlp\_spans): If this is set, it will take precedence over default value of `topics`
6262
- `topics` (default = otlp\_spans): List of Kafka topic from which to consume traces.
6363
- `encoding` (default = otlp\_proto): The encoding for the Kafka topic. See [Supported encodings](#supported-encodings).
64-
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
65-
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
64+
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
65+
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
6666
- `exclude_topics` (default = ""): When using regex topic patterns (prefix with `^`), this regex pattern excludes matching topics.
6767
- `profiles`
68-
- `topic` (Deprecated [v0.142.0]: use `topics`)
68+
- `topic` (Deprecated [v0.142.0]: use `topics`)
6969
(default = otlp\_profiles): If this is set, it will take precedence over default value of `topics`
70-
- `topics` (default = otlp\_profiles): List of Kafka topic from which to consume profiles.
70+
- `topics` (default = otlp\_profiles): List of Kafka topic from which to consume profiles.
7171
- `encoding` (default = otlp\_proto): The encoding for the Kafka topic. See [Supported encodings](#supported-encodings).
72-
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
73-
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
72+
- `exclude_topic` (Deprecated [v0.142.0]: use `exclude_topics`)
73+
(default = ""): If this is set, it will take precedence over default value of `exclude_topics`
7474
- `exclude_topics` (default = ""): When using regex topic patterns (prefix with `^`), this regex pattern excludes matching topics.
7575
- `group_id` (default = otel-collector): The consumer group that receiver will be consuming messages from
7676
- `client_id` (default = otel-collector): The consumer client ID that receiver will use
@@ -250,7 +250,7 @@ receivers:
250250
exclude_topics:
251251
- "^logs-(test|dev)$" # Exclude logs-test and logs-dev
252252
metrics:
253-
topics:
253+
topics:
254254
- "^metrics-.*"
255255
exclude_topics:
256256
- "^metrics-internal-.*$"

0 commit comments

Comments
 (0)