Releases: eclipse-zenoh/zenoh-java
Releases · eclipse-zenoh/zenoh-java
v0.10.1-rc
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()andString.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.