lib/fluent/plugin/in_gcloud_pubsub.rb in fluent-plugin-gcloud-pubsub-custom-1.3.1 vs lib/fluent/plugin/in_gcloud_pubsub.rb in fluent-plugin-gcloud-pubsub-custom-1.3.2
- old
+ new
@@ -24,10 +24,10 @@
desc 'Set your GCP project.'
config_param :project, :string, default: nil
desc 'Set your credential file path.'
config_param :key, :string, default: nil
desc 'Set topic name to pull.'
- config_param :topic, :string
+ config_param :topic, :string, default: nil
desc 'Set subscription name to pull.'
config_param :subscription, :string
desc 'Pulling messages by intervals of specified seconds.'
config_param :pull_interval, :float, default: 5.0
desc 'Max messages pulling at once.'