ixixi / fluent-plugin-sqs

Store fluent-event as queue message to Amazon SQS.
35 stars 53 forks source link

Added create queue option, and no longer catching errors when sending records to sqs. #12

Closed eastebry closed 9 years ago

eastebry commented 9 years ago

Two small changes:

  1. Adds the create_queue option (default: true). Default behavior is the same as before. If set to false, the output plugin will use @sqs.queues.named to access the queue, then send messages to it. This could be useful if you have permissions to write to queues, but not to create queues.
  2. Removed the error handling around the call to send stuff to the queue. This allows you to take advantage of BufferedOutput's reliability mechanisms: https://github.com/fluent/fluentd/blob/master/lib/fluent/output.rb#L182
ixixi commented 9 years ago

Thanks!! Released v1.5.1.