Skip to content

document: fix document for flusher pulsar #1460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions docs/cn/configuration/collection-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@

采集配置文件支持json和yaml文件格式,每个采集配置的一级字段如下:

| **参数** | **类型** | **是否必填** | **默认值** | **说明** |
| --- | --- | --- | --- | --- |
| enable | bool | 否 | true | 是否使用当前配置。 |
| global | object | 否 | 空 | 全局配置。 |
| inputs | \[object\] | 是 | / | 输入插件列表。目前只允许使用1个输入插件。 |
| processors | \[object\] | 否 | 空 | 处理插件列表。 |
| aggregators | \[object\] | 否 | 空 | 聚合插件列表。目前最多只能包含1个聚合插件,所有输出插件共享。 |
| flushers | \[object\] | 是 | / | 输出插件列表。至少需要包含1个输出插件。 |
| extenstions | \[object\] | 否 | 空 | 扩展插件列表。 |
| **参数** | **类型** | **是否必填** | **默认值** | **说明** |
|----------------------------------|------------|----------|---------|---------------------------------|
| enable | bool | 否 | true | 是否使用当前配置。 |
| global | object | 否 | 空 | 全局配置。 |
| global.EnableTimestampNanosecond | bool | 否 | false | 否启用纳秒级时间戳,提高时间精度。 |
| inputs | \[object\] | 是 | / | 输入插件列表。目前只允许使用1个输入插件。 |
| processors | \[object\] | 否 | 空 | 处理插件列表。 |
| aggregators | \[object\] | 否 | 空 | 聚合插件列表。目前最多只能包含1个聚合插件,所有输出插件共享。 |
| flushers | \[object\] | 是 | / | 输出插件列表。至少需要包含1个输出插件。 |
| extenstions | \[object\] | 否 | 空 | 扩展插件列表。 |

其中,inputs、processors、aggregators、flushers和extenstions中可包含任意数量的[插件](../plugins/overview.md)。

Expand Down
2 changes: 1 addition & 1 deletion docs/cn/plugins/flusher/flusher-pulsar.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ flushers:
TenantDomain: shopping
TenantService: some_app
PrivateKey: file:///path/to/client-key.pem
KeyId: v1
KeyID: v1
Topic: PulsarTestTopic
```

Expand Down