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

haizafrul_110648 avatar image
haizafrul_110648 asked ·

How can I control the frequency with which the commit logs are flushed

I would like to turn on CDC and parse the CLs in as real time fashion as possible to write them to a external source.

  1. How can I control the frequency with which the commit logs are flushed?
  2. Is there is such parameter, is it a good thing to increase its frequency?
  3. Any best practices around this setting?
cassandracdccommitlogs
2 comments
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.

What is your use case? If your organisation has a DSE subscription, we can get in contact with your account manager and organise a consulting engagement with one of our architects to see if we can design a solution to suit your needs. Cheers!

1 Like 1 ·

I'd also ask for a use-case. Parsing commit-logs is often a misuse.

0 Likes 0 ·

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@haizafrul_110648 the quick answer is "no". The CDC in DSE has been refactored specifically for DSE Advanced Replication and there no public APIs for it at this point. Cheers!

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.