E.g. no "-" must be contained, otherwise things will fail later on.

      Related discussion at https://gitter.im/debezium/dev?at=5d9774f5e8de6f3ca03c02e5

            [DBZ-1525] Validate configured replication slot names

            Well, yes the test and the behaviour was working correctly. Unfortunately the connector got into a bad state before the cleanup code was executed so it is reasonable to do both the validation and the cleanup after using incorrect slot name. Technically this issue shoudl ensure that the other originila one is not triggered but better safe than sorry .

            Jiri Pechanec added a comment - Well, yes the test and the behaviour was working correctly. Unfortunately the connector got into a bad state before the cleanup code was executed so it is reasonable to do both the validation and the cleanup after using incorrect slot name. Technically this issue shoudl ensure that the other originila one is not triggered but better safe than sorry .

            jpechane, about your question above – is it resolved?

            Gunnar Morling added a comment - jpechane , about your question above – is it resolved?

            We have a test for it io.debezium.connector.postgresql.connection.ReplicationConnectionIT.shouldCloseConnectionOnInvalidSlotName(). Is it broken then?

            Jiri Pechanec added a comment - We have a test for it io.debezium.connector.postgresql.connection.ReplicationConnectionIT.shouldCloseConnectionOnInvalidSlotName() . Is it broken then?

              jpechane Jiri Pechanec
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: