README.md in fluent-plugin-gcloud-pubsub-custom-1.5.0 vs README.md in fluent-plugin-gcloud-pubsub-custom-1.6.0
- old
+ new
@@ -59,10 +59,11 @@
autocreate_topic false
max_messages 1000
max_total_size 9800000
max_message_size 4000000
endpoint <Endpoint URL>
+ timeout 60
<buffer>
@type memory
flush_interval 1s
</buffer>
<format>
@@ -93,14 +94,18 @@
- Publishing messages bytesize per request to Cloud Pub/Sub. This parameter affects only message size. You should specify a little smaller value than quota.
- See https://cloud.google.com/pubsub/quotas#other_limits
- `max_message_size` (optional, default: `4000000` = `4MB`)
- Messages exceeding `max_message_size` are not published because Pub/Sub clients cannot receive it.
- `attribute_keys` (optional, default: `[]`)
- - Publishing the set fields as attributes.
+ - Publishing the set fields as attributes generated from input message.
+- `attribute_key_values` (optional, default: `{}`)
+ - Publishing the set fields as attributes generated from input params
- `endpoint`(optional)
- Set Pub/Sub service endpoint. For more information, see [Service Endpoints](https://cloud.google.com/pubsub/docs/reference/service_apis_overview#service_endpoints)
- `compression` (optional, default: `nil`)
- If set to `gzip`, messages will be compressed with gzip.
+- `timeout` (optional)
+ - Set default timeout to use in publish requests.
### Pull messages
Use `gcloud_pubsub` input plugin.