configure

in lib/fluent/plugin/out_kinesis_producer.rb [22:31]


    def configure(conf)
      super
      unless @stream_name or @stream_name_prefix
        raise Fluent::ConfigError, "'stream_name' or 'stream_name_prefix' is required"
      end
      if @stream_name and @stream_name_prefix
        raise Fluent::ConfigError, "Only one of 'stream_name' or 'stream_name_prefix' is allowed"
      end
    end