Altinity / clickhouse-sink-connector

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

Debezium 2.7 upgrade error in SnapshotLockingMode. #644

Open subkanthi opened 2 weeks ago

subkanthi commented 2 weeks ago

image

image

image

subkanthi commented 3 days 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 49 minutes ago

Fixed in #590