-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
AWS_ACCESS_KEY_ID=test | ||
AWS_SECRET_ACCESS_KEY=test |
14 changes: 14 additions & 0 deletions
14
debezium-server-dist/src/test/resources/kinesis/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Docker file used by GitHub actions to verify the debezium-server-dist works. | ||
debezium.sink.type=kinesis | ||
debezium.sink.kinesis.region=eu-central-1 | ||
debezium.source.connector.class=io.debezium.connector.postgresql.PostgresConnector | ||
debezium.source.offset.storage.file.filename=data/offsets.dat | ||
debezium.source.offset.flush.interval.ms=0 | ||
debezium.source.database.hostname=postgres | ||
debezium.source.database.port=5432 | ||
debezium.source.database.user=postgres | ||
debezium.source.database.password=postgres | ||
debezium.source.database.dbname=postgres | ||
debezium.source.topic.prefix=tutorial | ||
debezium.source.schema.include.list=inventory | ||
quarkus.log.console.json=false |
21 changes: 21 additions & 0 deletions
21
debezium-server-dist/src/test/resources/kinesis/docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Docker file used by GitHub actions to verify the debezium-server-dist works. | ||
services: | ||
postgres: | ||
image: quay.io/debezium/example-postgres:3.0 | ||
ports: | ||
- "5432:5432" | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD=postgres | ||
networks: | ||
- backend | ||
localstack: | ||
image: localstack/localstack:4.0 | ||
ports: | ||
- "4566:4566" # LocalStack Gateway | ||
- "4510-4559:4510-4559" # external services port range | ||
networks: | ||
- backend | ||
networks: | ||
backend: | ||
name: debezium-backend |
17 changes: 17 additions & 0 deletions
17
debezium-server-dist/src/test/resources/kinesis/post-script.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
STREAMS=('tutorial.inventory.customers' | ||
'tutorial.inventory.products' | ||
'tutorial.inventory.geom' | ||
'tutorial.inventory.products_on_hand' | ||
'tutorial.inventory.orders') | ||
REGION=eu-central-1 | ||
|
||
for stream in ${STREAMS[@]} | ||
do | ||
echo "Creating stream '$stream' in Kinesis" | ||
docker exec kinesis-localstack-1 awslocal kinesis create-stream --stream-name $stream --region $REGION | ||
done | ||
|
||
echo "List all the streams in Kinesis" | ||
docker exec kinesis-localstack-1 awslocal kinesis list-streams --region $REGION |