Scala/Java API

The Databus Client also offers an APIarrow-up-right for easy integration into your project. Currently i Currently there is no entry on mvn central for the Databus Client. But you can include the jar of the latest release in your project.

Installation

download jar file

include dependency (example for maven)

<dependency>
    <groupId>com.sample</groupId>
    <artifactId>sample</artifactId>
    <version>1.0</version>
    <scope>system</scope>
    <systemPath>${project.basedir}/src/main/resources/databus-client.jar</systemPath>
</dependency>

Execution

After you included the DatabusClient dependency, you can use it in your application.

DatabusClient
    .source("./src/query/query1")
    .source("./src/query/query2")
    .compression(Compression.gz)
    .format(Format.nt)
    .execute()

Sample project (outdated)

We have also created a sample projectarrow-up-right that shows how the Databus Client can be integrated into a project.

Last updated