diff options
author | Sandor Magyar <SMagyar@aphysci.com> | 2022-10-18 00:32:08 +0300 |
---|---|---|
committer | Sandor Magyar <SMagyar@aphysci.com> | 2022-10-18 00:32:08 +0300 |
commit | a3c47cc6823d017056b4790db88769fc6f6f40de (patch) | |
tree | 44b8a64a0c6208379396dc5400ed9bcbe38d8f9f /tests/test_stdout_api.cpp | |
parent | 0145223be1c3b115e562603881af2832505fe496 (diff) |
Don't force Mongo sink to own MongoCXX instance
There can only be one instance in the whole program, so programs that use the
Mongo sink and also separately use MongoCXX may have problems if the Mongo sink
owns the instance. MongoCXX recommends that the main application manage its own
instance so configuration parameters can be passed to the constructor:
http://mongocxx.org/api/current/classmongocxx_1_1instance.html
However, this commit is not a breaking change. If no instance has been created
at construction time, the Mongo sink will still create and own the instance.
Diffstat (limited to 'tests/test_stdout_api.cpp')
0 files changed, 0 insertions, 0 deletions