-
Notifications
You must be signed in to change notification settings - Fork 310
Support configurable batch types for batch operations #1174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reaching out. We initially decided to use logged batches as unlogged batches often times are misused and we wanted to guide users towards proper usage. Would you be interested in submitting a pull request for such a change? |
Hi Mark Makes sense. Sounds good, I'll submit a PR for this. |
We regularly use unlogged batches for single partition writes as a performance enhancement to reduce messages sent to Cassandra (and stop the coordinator node being overloaded). It would be nice to provide support for this via the ReactiveCassandraBatchOperations, which currently strictly supports LOGGED batches.
I may be missing part of the reasoning for strictly supporting logged batches, so feel free to correct me if there is reasoning for this.
The text was updated successfully, but these errors were encountered: