Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-7994 [Epic] MongoDB sink connector enhancements
  3. DBZ-8017

Refactor MongoDbPlatform and MongoDbDatabaseProvider

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.1-plan
    • None
    • mongodb-connector
    • None
    • False
    • None
    • False

      MongoDbDatabaseProvider is currently the main entrypoint to get a MongoDB replica set or sharded cluster (or external MongoDB/DocumentDB) instance setup in integration tests (called MongoDbPlatform / `mongodb.platform`).
      Unfortunately there's no easy way to configure the created containers. A critical issue for example is that you might need to provide a custom network while maintaining the flexibility to swith to another `mongodb.platform` based on system properties, but you can't. This needs some refactoring.

      Furthermore, it is not ideal that this class uses MongoDbPlatform underneath but this classes uses code from MongoDbDatabaseProvider (MongoDbDatabaseProvider::dockerReplicaSet)

            Unassigned Unassigned
            rk3rn3r René Kerner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: