How to connect to mongodb using an existing MultiThreadedEventLoopGroup?

as far as i can tell, MongoKitten initializes its own thread group when connecting to a mongodb server. if i already have a MultiThreadedEventLoopGroup, is there a way i can re-use it for the mongodb connection?

I'm not familiar enough with MongoKitten's APIs to know if that is possible, but I will point out that if it isn't and that feature is important to you, the official MongoDB driver supports this and accepts an EventLoopGroup when constructing a new client, see here.

1 Like

Update; MongoKitten 7's recent release has hidden away this specific functionality, it's being reintroduced.

1 Like