Comments (5)
I know that cassandra just "recently" supports java 11 in new 4.x version (currently 4.0-RC2). I think lagom uses in development mode cassandra 3.x which is not working on jdk 11 and should not work on 16 either
from lagom.
I know that cassandra just "recently" supports java 11 in new 4.x version (currently 4.0-RC2). I think lagom uses in development mode cassandra 3.x which is not working on jdk 11 and should not work on 16 either
That's great observation, I wasn't sure if it's vanilla Cassandra or embedded C* or embedded Kafka. There was also conversation in extracting this part of the maven lifecycle to use testcontainers.
from lagom.
I think lagom uses in development mode cassandra 3.x which is not working on jdk 11 and should not work on 16 either
A lagom build runs tests in both JDK8 and JDK11. A user with JDK11 can develop lagom services and user lagom's runAll
to start them and run the embedded Cassandra.
from lagom.
JDK 16 is not LTS so it's not on the roadmap to support it.
Supporting JDK17, OTOH is another matter. At the moment, lagom doesn't support JDK17 because play doesn't support it either.
When that happens, the most likely suggestion would be to not use the embedded Cassandra in dev mode ( aka runAll
) and, instead, run Cassandra manually on a container in the developer machine.
from lagom.
For what it’s worth, I’ve found that it’s the Cassandra driver using good old reflection that newer Java versions no longer support unless you explicitly enable via —illegal-access=permit
as a jvm flag in maven. I’ve had this work in development, but not tested in a full production environment (yet).
from lagom.
Related Issues (20)
- Adopt sbt-explicit-dependencies
- lagom-nightly-deploy-master failed HOT 6
- Support sbt 1.4 virtual files when displaying error source
- `mapFuture` with `ec.prepare()`
- Lagom 1.6.5 has conflicting transitive dependencies on other lightbend projects HOT 2
- how to compile lagom service in scala3 HOT 1
- Circuit breaker panel memory leak (?)
- Compilation failed - breakCompilation
- CI fails on master - NoClassDefFoundError: sjsonnew/BasicJsonProtocol HOT 1
- How can I run Lagom service in Prod Mode? HOT 2
- readside and readside offset produce duplicate entry error HOT 1
- [epic] reduce repository maintenance cost HOT 2
- Upgrade to log4j2 2.17 per Apache Log4j vulnerability guidance and security. HOT 2
- Lagom runAll failing because of semver check HOT 2
- Lagom bom-pom includes transitive dependencies HOT 1
- Make it easier to independently init SlickProvider HOT 1
- `atLeastOnce` Kafka Consumer not restarting on error
- At-most-once for Read Side Processor HOT 1
- Kafka client upgrade
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lagom.