Overview

The Akka Persistence Couchbase plugin allows for using Couchbase 5.1 and newer as a backend for Akka Persistence and Akka Persistence Query. It uses Alpakka Couchbase 1.0.1 to connect to Couchbase.

Project Info

Project Info: Akka Persistence Couchbase
Artifact
com.lightbend.akka
akka-persistence-couchbase
1.0
JDK versions
OpenJDK 8
OpenJDK 11
Scala versions2.13.0-M5, 2.12.8, 2.11.12
JPMS module nameakka.persistence.couchbase
License
Readiness level
Since 1.0, 2019-04-25
Home pagehttps://doc.akka.io/docs/akka-persistence-couchbase/current
Forums
Release notesGithub releases
IssuesGithub issues
Sourceshttps://github.com/akka/akka-persistence-couchbase

Dependencies

Maven
<dependency>
  <groupId>com.lightbend.akka</groupId>
  <artifactId>akka-persistence-couchbase_2.12</artifactId>
  <version>1.0</version>
</dependency>
sbt
libraryDependencies += "com.lightbend.akka" %% "akka-persistence-couchbase" % "1.0"
Gradle
dependencies {
  compile group: 'com.lightbend.akka', name: 'akka-persistence-couchbase_2.12', version: '1.0'
}

This plugin depends on Akka 2.5.x and note that it is important that all akka-* dependencies are in the same version, so it is recommended to depend on them explicitly to avoid problems with transient dependencies causing an unlucky mix of versions.

The table below shows Akka Persistence Couchbase’s direct dependencies and the second tab shows all libraries it depends on transitively.

Direct dependencies
OrganizationArtifactVersion
com.lightbend.akkaakka-stream-alpakka-couchbase_2.121.0.1
com.typesafe.akkaakka-actor_2.122.5.22
com.typesafe.akkaakka-persistence-query_2.122.5.21
com.typesafe.akkaakka-persistence_2.122.5.21
Dependency tree
com.lightbend.akka    akka-stream-alpakka-couchbase_2.12    1.0.1
    com.couchbase.client    java-client    2.7.2
        com.couchbase.client    core-io    1.7.2
            io.opentracing    opentracing-api    0.31.0
            io.reactivex    rxjava    1.3.8
    com.typesafe.akka    akka-stream_2.12    2.5.22
        com.typesafe.akka    akka-protobuf_2.12    2.5.22
            org.scala-lang    scala-library    2.12.8
        com.typesafe    ssl-config-core_2.12    0.3.7
            com.typesafe    config    1.3.3
            org.scala-lang.modules    scala-parser-combinators_2.12    1.1.1
                org.scala-lang    scala-library    2.12.8
            org.scala-lang    scala-library    2.12.8
        org.reactivestreams    reactive-streams    1.0.2
        org.scala-lang    scala-library    2.12.8
    io.reactivex    rxjava-reactive-streams    1.2.1
        io.reactivex    rxjava    1.3.8
        org.reactivestreams    reactive-streams    1.0.2
    org.scala-lang    scala-library    2.12.8
com.typesafe.akka    akka-actor_2.12    2.5.22
    com.typesafe    config    1.3.3
    org.scala-lang.modules    scala-java8-compat_2.12    0.8.0
        org.scala-lang    scala-library    2.12.8
    org.scala-lang    scala-library    2.12.8
com.typesafe.akka    akka-persistence-query_2.12    2.5.21
    com.typesafe.akka    akka-stream_2.12    2.5.22
        com.typesafe.akka    akka-protobuf_2.12    2.5.22
            org.scala-lang    scala-library    2.12.8
        com.typesafe    ssl-config-core_2.12    0.3.7
            com.typesafe    config    1.3.3
            org.scala-lang.modules    scala-parser-combinators_2.12    1.1.1
                org.scala-lang    scala-library    2.12.8
            org.scala-lang    scala-library    2.12.8
        org.reactivestreams    reactive-streams    1.0.2
        org.scala-lang    scala-library    2.12.8
    org.scala-lang    scala-library    2.12.8
com.typesafe.akka    akka-persistence_2.12    2.5.21
    com.typesafe.akka    akka-protobuf_2.12    2.5.22
        org.scala-lang    scala-library    2.12.8
    org.scala-lang    scala-library    2.12.8

Contributing

Please feel free to contribute to Akka and Akka Persistence Couchbase Documentation by reporting issues you identify, or by suggesting changes to the code. Please refer to our contributing instructions to learn how it can be done.

We want Akka to strive in a welcoming and open atmosphere and expect all contributors to respect our code of conduct.

Found an error in this documentation? The source code for this page can be found here. Please feel free to edit and contribute a pull request.