Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

dbyrne_86288 avatar image
dbyrne_86288 asked ·

Does DSE 6.7 support CDC

When using the commitlogreader from the cassandra-all maven build, we are unable to read the CDC files as they are not a supported version of the CommitLogDescriptor? DSE is writing the CDC files as version 600 which is not recognized by the CAssandra API.

change data capture
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

Yes, DSE 6.7 supports CDC. The commit logs do get tagged as code 600 compared to OSS C* which gets tagged as code 6 but the encoding version remains the same as OSS_30 for both OSS C* and DSE. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Eric, the CommitlogDescriptor checks the version number and blows out with an exception because of this. Is there a different API that allows this through or do we have to build our own reader/handler/descriptor and duplicate the API?

0 Likes 0 · ·

public int getMessagingVersion() {

switch (version)

{

...

case VERSION_21:

return MessagingService.VERSION_21;

case VERSION_22:

return MessagingService.VERSION_22;

case VERSION_30:

return MessagingService.FORCE_3_0_PROTOCOL_VERSION ? MessagingService.VERSION_30 : MessagingService.VERSION_3014;

default:

throw new IllegalStateException("Unknown commitlog version " + version);

0 Likes 0 · ·