Fluvio client uses javadoc to generate the client API documentation.
Note: topic creation and deletion is not yet supported in this client.
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.
-
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, runmake examples
. -
To publish, update the
version
influvio/build.gradle
to your liking and run the Publish CI. -
The documentation on github pages is updated on every merge into
main
.