I'm working on a simple project. I'm using SpringData and MongoDB.
Everything is perfect creating normal collections, but now I have to register information, I mean a logging functionality.
So I read this in the mongo documentation:
Capped collections provide a high-performance means for storing logging documents in the database. Inserting objects in an unindexed capped collection will be close to the speed of logging to a filesystem. Additionally, with the built-in FIFO mechanism, you are not at risk of using excessive disk space for the logging.
I thought great! this is what I need, but I have a doubt. Is posible to create this kind of collections with SpringData??? I couldn't find anything in SpringData documentation.
Someone knows something about this?
Thanks