README.md in fluent-plugin-gcloud-pubsub-custom-0.1.3 vs README.md in fluent-plugin-gcloud-pubsub-custom-0.1.4
- old
+ new
@@ -85,11 +85,11 @@
key <YOUR KEY>
topic <YOUR TOPIC>
subscription <YOUR SUBSCRIPTION>
max_messages 1000
return_immediately true
- pull_interval 2
+ pull_interval 0.5
format json
</source>
```
- `tag` (required)
@@ -100,19 +100,19 @@
- You can also use environment variable such as `GCLOUD_PROJECT`.
- `key` (optional)
- Set your credential file path.
- Running fluentd on GCP, you can use scope instead of specifying this.
- You can also use environment variable such as `GCLOUD_KEYFILE`.
-- `topic` (optional)
+- `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
- `return_immediately` (optional, default: `true`)
- See returnImmediately on https://cloud.google.com/pubsub/subscriber#receiving-pull-messages
- If `return_immediately` is `false`, this plugin ignore `pull_interval`.
-- `pull_interval` (optional, default: `5`)
+- `pull_interval` (optional, default: `5.0`)
- Pulling messages by intervals of specified seconds.
- `format` (optional, default: `json`)
- Set input format. See format section in http://docs.fluentd.org/articles/in_tail
## Contributing