sehz / fluvio-client-java

A Java Client for Fluvio!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fluvio Client for Java

Java binding for Fluvio streaming platform.

CI Fluvio Cloud CI License JavaDoc

Documentation

Fluvio client uses javadoc to generate the client API documentation.

Note: topic creation and deletion is not yet supported in this client.

Example Usage

Checkout our example project and our Simple.java.

Make sure your build.gradle has the maven section below

repositories {
    jcenter()
    maven {
        name = "GitHubPackages"
        url = uri("https://maven.pkg.github.com/infinyon/fluvio-client-java")
        credentials {
            username = System.getenv("GITHUB_ACTOR")
            password = System.getenv("GITHUB_TOKEN")

        }
    }
}

and add com.infinyon:fluvio-16:0.0.0 as a dependency. The section should look something like:

dependencies {
    // Use JUnit test framework.
    testImplementation 'junit:junit:4.13'

    // This dependency is used by the application.
    implementation 'com.google.guava:guava:29.0-jre'

    implementation 'com.infinyon:fluvio-16:0.0.1'
}

The artfiactId is dependent on the version of java. See our packages to see the published versions. If there's a version you'd like to be published please open an issue.

Developer Notes

  • Ensure that JAVA_ROOT points to the base directory for the java installation. It's under /usr/lib/jvm/java-15-openjdk for archlinux depending on the version of java.

  • CI will run make test will test that the rust is linked correctly but does not test the connection to a fluvio cluster. To verify that things work, run make examples.

  • To publish, update the version in fluvio/build.gradle to your liking and run the Publish CI.

  • The documentation on github pages is updated on every merge into main.

About

A Java Client for Fluvio!

License:Apache License 2.0


Languages

Language:Rust 63.8%Language:Java 34.2%Language:Makefile 2.0%