fix typo in cloud_pubsub docs (#7815)

This commit is contained in:
Labesse Kévin 2020-07-10 17:34:56 +02:00 committed by GitHub
parent 413398d1a1
commit c90229deb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ and creates metrics using one of the supported [input data formats][].
### Configuration ### Configuration
```toml ```toml
[[inputs.pubsub]] [[inputs.cloud_pubsub]]
## Required. Name of Google Cloud Platform (GCP) Project that owns ## Required. Name of Google Cloud Platform (GCP) Project that owns
## the given PubSub subscription. ## the given PubSub subscription.
project = "my-project" project = "my-project"
@ -31,7 +31,7 @@ and creates metrics using one of the supported [input data formats][].
## If the streaming pull for a PubSub Subscription fails (receiver), ## If the streaming pull for a PubSub Subscription fails (receiver),
## the agent attempts to restart receiving messages after this many seconds. ## the agent attempts to restart receiving messages after this many seconds.
# retry_delay_seconds = 5 # retry_delay_seconds = 5
## Optional. Maximum byte length of a message to consume. ## Optional. Maximum byte length of a message to consume.
## Larger messages are dropped with an error. If less than 0 or unspecified, ## Larger messages are dropped with an error. If less than 0 or unspecified,
## treated as no limit. ## treated as no limit.
@ -75,7 +75,7 @@ and creates metrics using one of the supported [input data formats][].
## 1. Note this setting does not limit the number of messages that can be ## 1. Note this setting does not limit the number of messages that can be
## processed concurrently (use "max_outstanding_messages" instead). ## processed concurrently (use "max_outstanding_messages" instead).
# max_receiver_go_routines = 0 # max_receiver_go_routines = 0
## Optional. If true, Telegraf will attempt to base64 decode the ## Optional. If true, Telegraf will attempt to base64 decode the
## PubSub message data before parsing. Many GCP services that ## PubSub message data before parsing. Many GCP services that
## output JSON to Google PubSub base64-encode the JSON payload. ## output JSON to Google PubSub base64-encode the JSON payload.