The GitHub Actions job "Build flink-connector-cassandra" on 
flink-connector-cassandra.git/FLINK-41444-driver-4.19.4 has failed.
Run started by GitHub user msmygit (triggered by MartijnVisser).

Head commit for run:
656a4b5eb7d2ec6bd0f5381d2e1e4f20988e01c2 / Madhavan <[email protected]>
[FLINK-41444][Connectors/Cassandra] Upgrade Cassandra Java driver from 3.11.2 
to 4.19.4

The connector now uses the Java Driver for Apache Cassandra 4.19.4
(org.apache.cassandra:java-driver-*), whose API is not compatible with
the version 3 of the driver.

Breaking changes:
- ClusterBuilder#buildCluster(Cluster.Builder) is replaced by
  CassandraSessionBuilder#buildSession(CqlSessionBuilder) and
  setClusterBuilder by setSessionBuilder. The SQL option
  'cluster-builder-class' is renamed to 'session-builder-class'.
- MapperOptions and SimpleMapperOptions are replaced by
  CassandraMapperOptions.
- POJOs are annotated with the annotations of the driver mapper
  (@Entity, @CqlName). As the mapper of the driver only works with
  an annotation processor, the connector maps the POJOs at runtime.
- CassandraSinkBase#send returns a CompletionStage, Guava is not
  exposed by the driver anymore and is not bundled.
- CQL date, time and timestamp are mapped to the java.time types.
  java.util.Date is still supported for timestamp columns.

New options:
- 'local-datacenter' SQL option and CassandraSinkBuilder#setLocalDatacenter.
  When it is not set, the local datacenter is inferred from the hosts.
- 'driver.*' SQL options are passed to the driver configuration.
- 'secure-connect-bundle' SQL option to connect to a cloud database,
  the hosts and the local datacenter are then ignored.

The partition key columns used to build the token range queries of
the source now keep the order of the partition key and are quoted
when they are case-sensitive. This only changes the queries of the
tables with a composite or a case-sensitive partition key.

Generated-by: Claude Code (Claude Fable 5.2)

Report URL: 
https://github.com/apache/flink-connector-cassandra/actions/runs/43149363480

With regards,
GitHub Actions via GitBox

Reply via email to