This commit upgrades the DataStax Cassandra driver to 4.7.0 and fixes a binary incompatibility stemming from one of its internal APIs, namely, the class DefaultProgrammaticDriverConfigLoaderBuilder, whose constructors changed slightly.

This commit also simplifies the creation of Config objects resulting from the properties set through Spring Boot's standard configuration mechanism.

Comment From: adutra

Keeping this on hold for now, we are evaluating the need for a bugfix release on our side. Sorry for the noise.

Comment From: wilkinsona

@adutra @mp911de What's the latest here please? Spring Data 2020.0.0-M1 is due on Wednesday with Spring Boot 2.4.0-M1 to follow on Thursday. As things stand, Spring Data 2020.0.0 snapshots use 4.7 of the Cassandra Driver. We need this change to be able to upgrade to 2020.0.0-M1 and ship Boot 2.4.0-M1 on Thursday.

Comment From: adutra

Hi, first you need to use driver 4.7.1, not 4.7.0. That was a mistake on our side. Regarding this PR, I’m keeping it open because we can improve a little bit the code that creates the driver config, but it’s not urgent at all and you don’t need it for 2.4.0-M1.

Le lun. 22 juin 2020 à 11:06, Andy Wilkinson notifications@github.com a écrit :

@adutra https://github.com/adutra @mp911de https://github.com/mp911de What's the latest here please? Spring Data 2020.0.0-M1 is due on Wednesday with Spring Boot 2.4.0-M1 to follow on Thursday. As things stand, Spring Data 2020.0.0 snapshots use 4.7 of the Cassandra Driver. We need this change to be able to upgrade to 2020.0.0-M1 and ship Boot 2.4.0-M1 on Thursday.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/spring-projects/spring-boot/pull/21998#issuecomment-647387777, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADRIBG3UNWYOX3NS2HLX63RX4NKXANCNFSM4OARV2NQ .

Comment From: mp911de

Spring Data will Upgrade to 4.7.1 for the upcoming milestone.

Comment From: adutra

Hey again, we've just identified another regression this morning and we released driver 4.7.2. Details here. If possible, please consider including 4.7.2 in your upcoming releases for both Spring Data and Spring Boot. Apologies for the constant back and forth here.

Comment From: mp911de

Thanks for the heads-up. That's done for Spring Data Cassandra (4.7.2).

Comment From: wilkinsona

I think this has now been superseded. Spring Boot 2.4.0-M1 upgraded to Cassandra Driver 4.7.2.