Hi there,
First of all, I would like to introduce my sinceres apologies, my ingles is not very well. I would to know if there are any way to delete the existing collection before inserting the output lines to mongodb? each new event, he would have to, before inserting the documents, delete the collection, to avoid the accumulation of repeated data in the collection. I've tryed to add an line in the mongo.rb to drop collection inside the receive(event) function, but it not works, because this function is called on loop, it means each call, the collection were dropped and the one only line stay inside the collection instead of all lines. Someone can help me?