Skip to content

Commit

Permalink
fix for connection retry issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jaise-aot committed Jan 25, 2024
1 parent bd1ebfb commit 5c6c8e8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etl/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ curl -u <username>:<password> -H "Content-Type: application/json" -d @register-p
```
curl -u <username>:<password> -H "Content-Type: application/json" -d @register-oracle-jdbc-sink-connector.json http://localhost:8083/connectors/
curl -u <username>:<password> -H "Content-Type: application/json" -d @register-oracle-jdbc-sink-connector.json https://debezium-jdbc-latest.apps.silver.devops.gov.bc.ca/connectors/
curl -u <username>:<password> -H "Content-Type: application/json" -d @register-oracle-jdbc-sink-connector.json https://debezium-jdbc-dev.apps.silver.devops.gov.bc.ca/connectors/
```
Expand Down
7 changes: 6 additions & 1 deletion etl/register-postgres-source-connector.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
"transforms.unwrap.drop.tombstones": "false",
"include.schema.changes": "false",
"time.precision.mode":"connect"
"time.precision.mode":"connect",
"heartbeat.action.query": "SELECT 1;",
"errors.retry.timeout": -1,
"errors.max.retries": "5",
"retry.backoff.ms": "30000",
"retriable.restart.connector.wait.ms": "30000"
}
}

0 comments on commit 5c6c8e8

Please sign in to comment.