Altinity / clickhouse-sink-connector

Replicate data from MySQL, Postgres and MongoDB to ClickHouse®
https://www.altinity.com
Apache License 2.0
234 stars 54 forks source link

Debezium 2.7 upgrade error in SnapshotLockingMode. #644

Closed subkanthi closed 4 months ago

subkanthi commented 5 months ago

image

image

image

subkanthi commented 4 months ago

The problem is the ServiceLoader class is not able to find the implementation in bundled JAR.

    public SnapshotLockProvider() {
        this.snapshotLockImplementations = (List)StreamSupport.stream(ServiceLoader.load(SnapshotLock.class).spliterator(), false).collect(Collectors.toList());
    }

https://stackoverflow.com/questions/50256929/service-loader-not-finding-any-implementations-when-packaged-as-a-jar

subkanthi commented 4 months ago

Fixed in #590