Skip to content

Commit

Permalink
document: fix document for flusher pulsar (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
shalousun authored Apr 28, 2024
1 parent 196de0d commit 22cb58c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
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

0 comments on commit 22cb58c

Please sign in to comment.