Skip to content
On this page

Source configuration.

DBS readers collect data from external sources such as MySQL and PostgreSQL and write the collected events to the target system of your choice.

This section provides general information about source configuration options. Some specific configuration options for different source types are described in the relevant sections.

Here is an example of a JSON source config object.

"source": {
    "mode": "reader-mode",
    "type": "source-type",
    "connection": "connection-string",
    "settings": {
      //settings are unique for each source type
    "filter": {
      "tables": [
        { "name": "table1", "operations": ["insert", "update", "delete"]},
        { "name": "table2", "operations": ["insert", "update", "delete"]}
modesourcerepresent mode to read the source. It may be either cdc or convert
typestringSource type. It can be either mysql or postgresql.
connectionstringConnection settings. See the relevant sections for specific data sources.
settings-The settings are unique for each source type. Find more details about the settings in the relevant sections of the documentation.
filter/ tablesobjectTables for which change data is returned. Tables must have primary keys (required for logical replication).
operationsenumA set of Change Data Capture types (insert, update, delete) of events to track.

DBConvert Streams - event driven replication for databases