ConductR/Cassandra deployment uses wrong keyspace names
See original GitHub issueDeploying Lagom with Cassandra as a Persistent Entity backend in ConductR fails to create a keyspace per service. This causes collisions on cluster-related persistent data.
API / Versions Java/Scala
I could reproduce it at least with:
addSbtPlugin("com.lightbend.lagom" % "lagom-sbt-plugin" % "1.3.1")
addSbtPlugin("com.lightbend.conductr" % "sbt-conductr" % "2.3.0")
running on sandbox 2.0.2
. Haven’t regression-tested in Lagom 1.2.x or sandbox 1.x
.
Expected
- Create a Lagom project
- Deploy in ConductR
- Lagom creates a keyspace per service and uses that for snapshots, journal and read-side.
Actual
- Create a Lagom project
- Deploy in ConductR
- the keyspaces created ignore the service name and fallback to the default values of:
lagom
,lagom_read
andlagom_snapshot
. All services use the same three keyspaces.
Issue Analytics
- State:
- Created 7 years ago
- Comments:23 (23 by maintainers)
Top Results From Across the Web
Data Definition | Apache Cassandra Documentation
This section describes the statements used to create, modify, and remove those keyspace and tables. Common definitions. The names of the keyspaces and...
Read more >Configure an External Cassandra - Genesys Documentation
Genesys simplifies GMS deployments with Cassandra by deprecating old ... If your GMS keyspace name is gsg, you should edit these lines as ......
Read more >AWS::Cassandra::Table - AWS CloudFormation
The AWS::Cassandra::Table resource allows you to create a new table in Amazon Keyspaces (for Apache Cassandra). For more information, see Create a keyspace...
Read more >Key space name issue with creating table in cassandra
I assume you use CQL3 to create the table. CQL3 treats names of keyspaces, tables etc. as case insensitive. Names in CQL3 statements...
Read more >Installing CDC for Cassandra for VM deployment
You have one connector per CDC-enabled Cassandra table, make sure to use a unique ... keyspace. Cassandra keyspace name. string. table. Cassandra table...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think everything is done on this one now. 🎉
Unless anyone has an objection, I’ll plan to start working on these changes tomorrow, with the following rough plan:
application.conf
(backported to 1.3.x)application.conf
(1.3.x)this may already existit does)conductr-lib
that (attempts to) inject keyspaces in production (no major version bump necessary since this currently doesn’t work)application.conf
(1.4+ only)Integration test inDecided that this would not be valuable now that ConductR no longer does anything differently.sbt-conductr
to ensure that configured keyspaces are used in production