README.md in fluent-plugin-gcloud-pubsub-custom-1.4.0 vs README.md in fluent-plugin-gcloud-pubsub-custom-1.5.0
- old
+ new
@@ -1,8 +1,8 @@
# fluent-plugin-gcloud-pubsub-custom
-[![Build Status](https://travis-ci.org/mia-0032/fluent-plugin-gcloud-pubsub-custom.svg?branch=master)](https://travis-ci.org/mia-0032/fluent-plugin-gcloud-pubsub-custom)
+![Test](https://github.com/mia-0032/fluent-plugin-gcloud-pubsub-custom/workflows/Test/badge.svg)
[![Gem Version](https://badge.fury.io/rb/fluent-plugin-gcloud-pubsub-custom.svg)](http://badge.fury.io/rb/fluent-plugin-gcloud-pubsub-custom)
This plugin is forked from https://github.com/mdoi/fluent-plugin-gcloud-pubsub
## Overview
@@ -58,10 +58,11 @@
topic <YOUR TOPIC>
autocreate_topic false
max_messages 1000
max_total_size 9800000
max_message_size 4000000
+ endpoint <Endpoint URL>
<buffer>
@type memory
flush_interval 1s
</buffer>
<format>
@@ -93,10 +94,14 @@
- 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.
+- `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.
### Pull messages
Use `gcloud_pubsub` input plugin.
@@ -158,9 +163,11 @@
- If `true` is specified, HTTP RPC to stop or start pulling message is enabled.
- `rpc_bind` (optional, default: `0.0.0.0`)
- Bind IP address for HTTP RPC.
- `rpc_port` (optional, default: `24680`)
- Port for HTTP RPC.
+- `decompression` (optional, default: `nil`)
+ - If set to `gzip`, messages will be decompressed with gzip.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)