ExKtor - it's set of extension libraries for Ktor that simplify integration with 3rd party applications.
This guide shows how to setup ktor-elastic
<repositories>
<repository>
<id>exktor</id>
<url>https://maven.pkg.github.com/paslavsky/exktor</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.paslavsky</groupId>
<artifactId>ktor-elastic</artifactId>
<version>${exktor.version}</version>
</dependency>
</dependencies>
repositories {
maven {
url = uri("https://maven.pkg.github.com/paslavsky/exktor")
}
}
dependencies {
implementation "net.paslavsky:ktor-elastic:$exktorVersion"
}
fun Application.module() {
install(ElasticFeature) {
hosts = arrayOf("http://my-elastic-host.com")
}
// ...
}
For more details please see module documentation
Please use Issues to propose new ideas or report the bug. PR are welcome if you know how to fix or/and improve something 😸