logstash-plugins / logstash-output-sqs

Apache License 2.0
4 stars 22 forks source link

Mark deprecated `batch` and `batch_timeout` options as obsolete #25

Closed jsvd closed 7 years ago

jakelandis commented 7 years ago

It looks like batch is still used by a spec: https://github.com/logstash-plugins/logstash-output-sqs/blob/37f913a31d1892d38d09b99fec4d5ee95042b8de/spec/integration/outputs/sqs_spec.rb#L75

jsvd commented 7 years ago

ugh, nice catch 👍

untergeek commented 7 years ago

batch still hasn't been removed from the spec tests:

Failed examples:
rspec ./spec/unit/outputs/sqs_spec.rb:159 # LogStash::Outputs::SQS#multi_receive_encoded with batching enabled should batch events
rspec ./spec/unit/outputs/sqs_spec.rb:154 # LogStash::Outputs::SQS#multi_receive_encoded with batching enabled should call send_message_batch
rspec ./spec/unit/outputs/sqs_spec.rb:108 # LogStash::Outputs::SQS#multi_receive_encoded with batching disabled using the `batch` parameter should not call send_message_batch
rspec ./spec/unit/outputs/sqs_spec.rb:103 # LogStash::Outputs::SQS#multi_receive_encoded with batching disabled using the `batch` parameter should call send_message
rspec ./spec/unit/outputs/sqs_spec.rb:122 # LogStash::Outputs::SQS#multi_receive_encoded with batching disabled should call send_message
rspec ./spec/unit/outputs/sqs_spec.rb:127 # LogStash::Outputs::SQS#multi_receive_encoded with batching disabled should not call send_message_batch
jsvd commented 7 years ago

references to batch removed, tests passing

jakelandis commented 7 years ago

LGTM