README.md in fluent-plugin-gcloud-pubsub-custom-1.0.0 vs README.md in fluent-plugin-gcloud-pubsub-custom-1.0.1
- old
+ new
@@ -17,10 +17,17 @@
- Create a project on Google Developer Console
- Add a topic of Cloud Pub/Sub to the project
- Add a pull style subscription to the topic
- Download your credential (json) or [set scope on GCE instance](https://cloud.google.com/compute/docs/api/how-tos/authorization)
+## Requirements
+
+| fluent-plugin-gcloud-pubsub-custom | fluentd | ruby |
+|------------------------|---------|------|
+| >= 1.0.0 | >= v0.14.0 | >= 2.1 |
+| < 1.0.0 | >= v0.12.0 | >= 1.9 |
+
## Installation
Install by gem:
```shell
@@ -122,12 +129,12 @@
- `topic` (required)
- Set topic name to pull.
- `subscription` (required)
- Set subscription name to pull.
- `max_messages` (optional, default: `100`)
- - See maxMessages on https://cloud.google.com/pubsub/subscriber#receiving-pull-messages
+ - See maxMessages on https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/pull
- `return_immediately` (optional, default: `true`)
- - See returnImmediately on https://cloud.google.com/pubsub/subscriber#receiving-pull-messages
+ - See returnImmediately on https://cloud.google.com/pubsub/docs/reference/rest/v1/projects.subscriptions/pull
- If `return_immediately` is `true` or pulling message is stopped by HTTP RPC, this plugin wait `pull_interval` each pull.
- `pull_interval` (optional, default: `5.0`)
- Pulling messages by intervals of specified seconds.
- `pull_threads` (optional, default: `1`)
- Set number of threads to pull messages.