-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #543 from Altinity/refactor_testflows_tests
Refactor TestFlows tests related to Lightweight
- Loading branch information
Showing
72 changed files
with
1,814 additions
and
2,662 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
17 changes: 17 additions & 0 deletions
17
...connector-lightweight/tests/integration/env/auto/clickhouse-sink-connector-lt-service.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,17 @@ | ||
version: "2.3" | ||
|
||
services: | ||
clickhouse-sink-connector-lt: | ||
hostname: clickhouse-sink-connector-lt | ||
image: ${SINK_CONNECTOR_IMAGE} | ||
restart: "no" | ||
expose: | ||
- "8083" | ||
- "1976" | ||
- "5005" | ||
extra_hosts: | ||
- "host.docker.internal:host-gateway" | ||
entrypoint: bash -c "tail -f /dev/null" | ||
volumes: | ||
- ./configs:/configs | ||
- ../../logs:/logs |
49 changes: 0 additions & 49 deletions
49
sink-connector-lightweight/tests/integration/env/auto/config.yml
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
sink-connector-lightweight/tests/integration/env/auto/configs/config.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,49 @@ | ||
name: my_connector | ||
database.hostname: mysql-master | ||
database.port: '3306' | ||
database.user: root | ||
database.password: root | ||
database.server.name: ER54 | ||
database.include.list: test | ||
clickhouse.server.url: clickhouse | ||
clickhouse.server.user: root | ||
clickhouse.server.password: root | ||
clickhouse.server.port: '8123' | ||
clickhouse.server.database: test | ||
database.allowPublicKeyRetrieval: 'true' | ||
snapshot.mode: initial | ||
offset.flush.interval.ms: '5000' | ||
connector.class: io.debezium.connector.mysql.MySqlConnector | ||
offset.storage: io.debezium.storage.jdbc.offset.JdbcOffsetBackingStore | ||
offset.storage.jdbc.offset.table.name: altinity_sink_connector.replica_source_info | ||
offset.storage.jdbc.url: jdbc:clickhouse://clickhouse:8123/altinity_sink_connector | ||
offset.storage.jdbc.user: root | ||
offset.storage.jdbc.password: root | ||
offset.storage.jdbc.offset.table.ddl: |- | ||
CREATE TABLE if not exists %s | ||
( | ||
`id` String, | ||
`offset_key` String, | ||
`offset_val` String, | ||
`record_insert_ts` DateTime, | ||
`record_insert_seq` UInt64, | ||
`_version` UInt64 MATERIALIZED toUnixTimestamp64Nano(now64(9)) | ||
) | ||
ENGINE = ReplacingMergeTree(_version) | ||
ORDER BY id | ||
SETTINGS index_granularity = 8198 | ||
offset.storage.jdbc.offset.table.delete: delete from %s where 1=1 | ||
schema.history.internal: io.debezium.storage.jdbc.history.JdbcSchemaHistory | ||
schema.history.internal.jdbc.url: jdbc:clickhouse://clickhouse:8123/altinity_sink_connector | ||
schema.history.internal.jdbc.user: root | ||
schema.history.internal.jdbc.password: root | ||
schema.history.internal.jdbc.schema.history.table.ddl: |- | ||
CREATE TABLE if not exists %s | ||
(`id` VARCHAR(36) NOT NULL, `history_data` VARCHAR(65000), `history_data_seq` INTEGER, `record_insert_ts` TIMESTAMP NOT NULL, `record_insert_seq` INTEGER NOT NULL) ENGINE=ReplacingMergeTree(record_insert_seq) order by id | ||
schema.history.internal.jdbc.schema.history.table.name: altinity_sink_connector.replicate_schema_history | ||
replacingmergetree.delete.column: _sign | ||
enable.snapshot.ddl: 'true' | ||
database.connectionTimeZone: UTC | ||
database.serverTimezone: UTC | ||
clickhouse.datetime.timezone: UTC | ||
auto.create.tables: 'true' |
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
Oops, something went wrong.