README.md in fluent-plugin-gcloud-pubsub-custom-0.3.0 vs README.md in fluent-plugin-gcloud-pubsub-custom-0.3.1
- old
+ new
@@ -86,10 +86,11 @@
topic <YOUR TOPIC>
subscription <YOUR SUBSCRIPTION>
max_messages 1000
return_immediately true
pull_interval 0.5
+ pull_threads 2
format json
enable_rpc true
rpc_bind 0.0.0.0
rpc_port 24680
</source>
@@ -114,9 +115,11 @@
- `return_immediately` (optional, default: `true`)
- See returnImmediately on https://cloud.google.com/pubsub/subscriber#receiving-pull-messages
- If `return_immediately` is `true` and 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.
- `format` (optional, default: `json`)
- Set input format. See format section in http://docs.fluentd.org/articles/in_tail
- `enable_rpc` (optional, default: `false`)
- If `true` is specified, HTTP RPC to stop or start pulling message is enabled.
- `rpc_bind` (optional, default: `0.0.0.0`)