I'm trying to use the compress spooler codec on a previously-working RMQ output, but encoding is failing with Error encoding event {:exception=>#<ArgumentError: wrong number of arguments (1 for 2)> ... .
I've stripped my config down to basic input/output and can reproduce it with the following:
@ceekay - any updates? are u still having same issue? I am reproducing the same behavior when logstash is communicating to Rabbitmq using compress_spooler...
it works without compress_spooler but I don't want to submit uncompressed packages that contain only one line to Rabbitmq... did you find any alternative?
@oriol we ended up dropping compress_spooler and writing our own codec with similar functionality. This also needs a slightly tweaked RabbitMQ plugin to ensure there's no message loss on shutdown, and we're still waiting on PR acceptance for that so we can't really release what we have until that happens.
I'll update this thread when there's some movement there.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.