Skip to content
/ apc-mwe Public

Minimal Working Example of akka-persistence-cassandra working on an M1 / AArch64 / ARM64 Mac

Notifications You must be signed in to change notification settings

awwsmm/apc-mwe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apc-mwe

To create your own Mac M1 / ARM64 / AArch64 akka-persistence-cassandra cassandra-bundle.jar file

  1. git clone git@github.com:akka/akka-persistence-cassandra.git
  2. Make sure you're using Java 8 (tested with 8.0.345-librca and Azul Zulu 8)
  3. Open akka-persistence-cassandra in IntelliJ and check the Java version under File > Project Structure > Project Settings > Project. Make sure the SDK is set to the Java 8 version from step 2.
  4. Add dependencyOverrides += "net.java.dev.jna" % "jna" % "5.12.1" to the cassandraBundle project in the build.sbt of akka-persistence-cassandra
  5. sbt cassandraBundle/assembly to create cassandra-bundle/target/bundle/akka.persistence.cassandra.launcher/cassandra-bundle.jar (you might have to comment out a few broken test suites to get this to run)
  6. Check your work by running the CassandraLauncherSpec in akka-persistence-cassandra
  7. Now you can use your cassandra-bundle.jar to run the CassandraLauncher in third-party projects, like this one!

About

Minimal Working Example of akka-persistence-cassandra working on an M1 / AArch64 / ARM64 Mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages