Closed ceecko closed 6 years ago
I think that broke with the commit https://github.com/fluent/fluent-plugin-mongo/commit/d89267652f6d417e906e818ee7139f3ebba3d3f9 – for the transition to the new MongoDB driver, it was assumed that
@client[collection, @collection_options].insert_many(records)
would create the collection implicitly by applying @collection_options
but that is not what happens.
Could you send your patch into this repository, @aferreira ?
Ah, it is already sent here. I'll check it.
Merged patch.
When using v0.8.0 the capped collection config is not applied. Here's the config we use:
The resulting collection is not capped.