The MongoDB MongoClient instance, required for transaction support.
OptionalcollectionName?: stringName of the MongoDB collection used to store rate-limiter state records.
OptionalcollectionSettings?: CollectionOptionsAdditional options passed when creating or accessing the MongoDB collection.
The MongoDB Db instance to store rate-limiter state in.
OptionalenableTransactions?: booleanWhen true, operations are wrapped in MongoDB transactions for atomicity.
Requires a Replica Set or sharded cluster that supports transactions.
Serde instance for serializing and deserializing rate-limiter state to and from strings.
Configuration for
MongodbRateLimiterStorageAdapter. Requires a MongoDBDbinstance.IMPORT_PATH:
"@daiso-tech/core/rate-limiter/mongodb-rate-limiter-storage-adapter"