Overview
- sec is a KurrentDB v25+ client library for Scala.
- sec is purely functional, non-blocking, and provides a tagless-final API.
- sec embraces the Scala Code of Conduct.
Using sec
To use sec in an existing sbt project with Scala 3 or a later version,
add the following to your build.sbt
file.
libraryDependencies += "io.github.ahjohannessen" %% "sec-fs2-client" % "0.44.0"
How to learn
In order to use sec effectively you need some prerequisites:
- It is assumed you are comfortable with KurrentDB.
- It is assumed you are comfortable with cats, cats-effect, and fs2.
If you feel not having the necessary prerequisites, the linked websites have many learning resources.
Learning about sec
In the following sections you will learn about:
- Basics about types and API used for interacting with KurrentDB.
- Using the Streams API for writing data, reading data, subscribing to streams, deleting data. Moreover, you will also learn about manipulating metadata.
- Connecting to a single node or a cluster.
- Various configuration for connections, retries and authentication.
License
sec is licensed under Apache 2.0.