Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-1627

Docker image: (example-mongodb) the rs.initiate command in init-inventory.sh is wrong.

    XMLWordPrintable

Details

    Description

      If my understanding is not wrong.
      In replica set mode, the mongodb connector will lookup all node host in rs.conf().
      This means: we must make sure the host that added by commnad `rs.add('host:port')` can be accessed by the connector.

      However, in the init-inventory.sh, used the `hostname` as primary host (see attached hostname.jpg).

      In addition, why must we make sure all the host can be accessed by the connector ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            kai.hou kai hou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: