Java Embedded
You can use KevaDB as an embedded database in your Java/Kotlin/Scala project, thus can use in for example integration tests.
Install
build.gradle
dependencies {
implementation 'dev.keva:kevadb:1.0.0-rc2'
}
or:
pom.xml
<dependency>
<groupId>dev.keva</groupId>
<artifactId>kevadb</artifactId>
<version>1.0.0-rc2</version>
</dependency>
Usage
Example usage:
App.java
package test.keva;
import dev.keva.core.config.KevaConfig;
import dev.keva.core.server.KevaServer;
public class App {
public static void main(String[] args) {
KevaConfig kevaConfig = KevaConfig.ofDefaults();
KevaServer server = KevaServer.of(kevaConfig);
server.run();
}
}