configure

in lib/fluent/plugin/kinesis_helper/api.rb [19:29]


      def configure(conf)
        super
        if @batch_request_max_count > self.class::BatchRequestLimitCount
          raise ConfigError, "batch_request_max_count can't be grater than #{self.class::BatchRequestLimitCount}."
        end
        if @batch_request_max_size > self.class::BatchRequestLimitSize
          raise ConfigError, "batch_request_max_size can't be grater than #{self.class::BatchRequestLimitSize}."
        end
        @region = client.config.region if @region.nil?
      end