Closed tellienne closed 2 weeks ago
You can use this configuration
clickhouse.database.override.map: "employees:employees2, products:productsnew
I'm trying to use it like
clickhouse.database.override.map: "test-database:test_database"
but I get an error
2024-07-25 02:56:01.529 ERROR -
[SF_KAFKA_CONNECTOR] database nametest-database should have at least 2 characters, start with _a-zA-Z, and only contains _$a-zA-z0-9
java.lang.Exception: Invalid clickhouse table
at com.altinity.clickhouse.sink.connector.common.Utils.parseSourceToDestinationDatabaseMap(Utils.java:89)
at com.altinity.clickhouse.sink.connector.validators.DatabaseOverrideValidator.ensureValid(DatabaseOverrideValidator.java:17)
at org.apache.kafka.common.config.ConfigDef.parseValue(ConfigDef.java:499)
at org.apache.kafka.common.config.ConfigDef.parse(ConfigDef.java:483)
at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:113)
at org.apache.kafka.common.config.AbstractConfig.<init>(AbstractConfig.java:146)
at com.altinity.clickhouse.sink.connector.ClickHouseSinkConnectorConfig.<init>(ClickHouseSinkConnectorConfig.java:46)
at com.altinity.clickhouse.sink.connector.ClickHouseSinkConnectorConfig.<init>(ClickHouseSinkConnectorConfig.java:42)
at com.altinity.clickhouse.debezium.embedded.ClickHouseDebeziumEmbeddedApplication.main(ClickHouseDebeziumEmbeddedApplication.java:87)
Can you please tell me when version 2.3.0 is planned to be released? We have many databases with "-" in the name :(
Can you please tell me when version 2.3.0 is planned to be released? We have many databases with "-" in the name :(
are u able to use this image tag altinityinfra/clickhouse-sink-connector:716-f3f63a01328216e766609fa8280adbe93b7ea320-lt
This works well, thanks! Until version 2.3.0 is released we will use this image
Hi! In Postgres, our database names contain "-". For example "test-database". we use connector v2.2.0-lt
when we run the connector for this database, we get an error
in the old version of the connector it was possible to use the parameter
clickhouse.server.database:
and transfer data from "test-database" to "test_database" in clickhouse.how can we fix the error?