Skip to content

Releases: eclipse-zenoh/zenoh-java

v0.10.1-rc

21 Dec 11:50
ef8ad68

Choose a tag to compare

v0.10.1-rc Pre-release
Pre-release

First zenoh-java release 🎉

Based on zenoh-kotlin, zenoh-java brings the same level of features (see 0.10.0-rc, 0.10.1-rc) with a Java compatible API.

Targets JVM and Android.

Differences with zenoh-kotlin:

  • Replacing everything that's pure kotlin with somewhat equivalent Java compatible code:

    • Using BlockingQueue with Optional instead of Kotlin's Channels used with Coroutines
    • Replacing all Results with Exceptions throwing
    • Added "ZenohException" wrapping the existing Exceptions thrown through JNI, for better exception handling.
    • Replacing kotlin's "extension functions" String.intoKeyExpr() and String.intoSelector() by static methods on the KeyExpr and Selector classes respectively, offering a similar functionality.
  • Added Java examples with pure Java code using the library.