Skip to content

Commit

Permalink
feat: add create if not exists config for publication and slot
Browse files Browse the repository at this point in the history
  • Loading branch information
3n0ugh committed Jul 3, 2024
1 parent 4ca5c3d commit 0076edc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions integration_test/copy_protocol_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,5 @@ func TestCopyProtocol(t *testing.T) {
}
}
}

assert.True(t, totalCounter.Load() == 30, "EXPECTED: 30 ACTUAL: %d", totalCounter.Load())
})
}
3 changes: 3 additions & 0 deletions integration_test/test_connector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ password: cdc_pass
database: cdc_db
debugMode: false
publication:
createIfNotExists: true
name: cdc_publication
operations:
- INSERT
Expand All @@ -12,6 +13,8 @@ publication:
tables:
- name: books
replicaIdentity: FULL
slot:
createIfNotExists: true
logger:
level: INFO
metric:
Expand Down

0 comments on commit 0076edc

Please sign in to comment.