lib/fluent/plugin/out_gcloud_pubsub.rb in fluent-plugin-gcloud-pubsub-0.0.3 vs lib/fluent/plugin/out_gcloud_pubsub.rb in fluent-plugin-gcloud-pubsub-0.0.4
- old
+ new
@@ -1,8 +1,9 @@
require 'gcloud'
+require 'fluent/output'
module Fluent
- class GcloudPubSubOutput < Fluent::BufferedOutput
+ class GcloudPubSubOutput < BufferedOutput
Fluent::Plugin.register_output('gcloud_pubsub', self)
config_set_default :buffer_type, 'lightening'
config_set_default :flush_interval, 1
config_set_default :try_flush_interval, 0.05