Skip to content

Commit

Permalink
Re-enabled MySQL backups, which are needed for replication + Re-upgra…
Browse files Browse the repository at this point in the history
…ded to latest CDC
  • Loading branch information
cer committed Jul 11, 2019
1 parent 785e483 commit 715300b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
18 changes: 13 additions & 5 deletions aws-fargate-terraform/ecs_cdc.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,20 @@
],
"environment": [
{
"name": "JAVA_OPTS",
"value": "-Xmx512m -Xms512m"
"name": "EVENTUATELOCAL_CDC_MYSQL_BINLOG_CLIENT_UNIQUE_ID",
"value": "1234567890"
},
{
"name": "EVENTUATELOCAL_CDC_BINLOG_CLIENT_ID",
"value": "1234567890"
"name": "EVENTUATELOCAL_CDC_READ_OLD_DEBEZIUM_DB_OFFSET_STORAGE_TOPIC",
"value": "false"
},
{
"name": "EVENTUATELOCAL_CDC_READER_NAME",
"value": "MySqlReader"
},
{
"name": "EVENTUATELOCAL_CDC_OFFSET_STORE_KEY",
"value": "MySqlBinlog"
},
{
"name": "EVENTUATELOCAL_CDC_DB_PASSWORD",
Expand Down Expand Up @@ -62,7 +70,7 @@
"value": "${db_user}"
}
],
"image": "eventuateio/eventuate-tram-cdc-mysql-service:0.7.0.RELEASE",
"image": "eventuateio/eventuate-cdc-service:0.4.0.RELEASE",
"dependsOn": [

],
Expand Down
2 changes: 2 additions & 0 deletions aws-fargate-terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ resource "aws_db_instance" "mysql_instance" {
publicly_accessible = true
parameter_group_name = "${aws_db_parameter_group.mysql_parameter_group.name}"
vpc_security_group_ids = ["${aws_security_group.sg-rds.id}"]
backup_retention_period = "1"
apply_immediately = true

provisioner "local-exec" {
command = <<EOF
Expand Down

0 comments on commit 715300b

Please sign in to comment.