Skip to content
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

[feat/config] add options for keyspace replication strategy #589

Closed
wants to merge 2 commits into from

Conversation

thibaultcha
Copy link
Member

Possibility to configure the replication strategy used by the created
keyspace and its options.

Added options:

## Keyspace options. Set those before running Kong or any migration.
## Those settings will be used to create a keyspace with the desired options
## when first running the migrations.
##
## See http://docs.datastax.com/en/cql/3.1/cql/cql_reference/create_keyspace_r.html

## The name of the replica placement strategy class for the new keyspace.
## Can be "SimpleStrategy" or "NetworkTopologyStrategy".
replication_strategy: SimpleStrategy

## For SimpleStrategy only.
## The number of replicas of data on multiple nodes.
replication_factor: 1

## For NetworkTopologyStrategy only.
## The number of replicas of data on multiple nodes in each data center.
# data_centers:
#   dc1: 2
#   dc2: 3

Implements #543 and #350

Possibility to configure the replication strategy used by the created
keyspace and its options.

Implements #543 and #350
DAO properties are no nested in `properties` property anymore.
@thibaultcha
Copy link
Member Author

Note: to be closed re-opened again the next branch (See #622)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant