Bewang
Bewang

Reputation: 483

Consistency level: QUORUM or QUOROM spring-data-cassandra?

In org.springframework.data:spring-cql,

package org.springframework.cassandra.core;

/**
 * Generic Consistency Levels associated with Cassandra.
 * 
 * @author David Webb
 */
public enum ConsistencyLevel {

    ANY, ONE, TWO, THREE, QUOROM, LOCAL_QUOROM, EACH_QUOROM, ALL, LOCAL_ONE, SERIAL, LOCAL_SERIAL

}

Is 'QUOROM' a typo or Spring-data intentionally writes like that?

Upvotes: 0

Views: 901

Answers (1)

John Blum
John Blum

Reputation: 7991

Not sure what you are implying by this...

Is 'QUOROM' a typo or Spring-data intentionally writes like that?

But, perhaps you should take a look at...

https://github.com/spring-projects/spring-data-cassandra/pull/54

Clearly, this was a typo by the original authors of the project. More recently, SD Cassandra has been pulled in as a Pivotal owned and maintained project.

While we do plan to merge this PR (soon, probably for the 1.5.M1 (Ingalls) release), it is also an interface breaking change so requires careful attention, which has been appropriately and soundly done by atoumle.

At any rate, we always welcome community contributions and feedback, so you are welcome to open a JIRA ticket or submit a PR if you feel something is not correct, whether that be source code, documentation or examples.

Thank you!

Upvotes: 1

Related Questions