Zenoh

The Zenoh client API in Java

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

org.eclipse.zenoh
ArtifactId

ArtifactId

zenoh
Last Version

Last Version

0.4.2-M1
Release Date

Release Date

Type

Type

jar
Description

Description

Zenoh
The Zenoh client API in Java
Project Organization

Project Organization

Eclipse Foundation

Download zenoh

How to add to project

<!-- https://jarcasting.com/artifacts/org.eclipse.zenoh/zenoh/ -->
<dependency>
    <groupId>org.eclipse.zenoh</groupId>
    <artifactId>zenoh</artifactId>
    <version>0.4.2-M1</version>
</dependency>
// https://jarcasting.com/artifacts/org.eclipse.zenoh/zenoh/
implementation 'org.eclipse.zenoh:zenoh:0.4.2-M1'
// https://jarcasting.com/artifacts/org.eclipse.zenoh/zenoh/
implementation ("org.eclipse.zenoh:zenoh:0.4.2-M1")
'org.eclipse.zenoh:zenoh:jar:0.4.2-M1'
<dependency org="org.eclipse.zenoh" name="zenoh" rev="0.4.2-M1">
  <artifact name="zenoh" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.eclipse.zenoh', module='zenoh', version='0.4.2-M1')
)
libraryDependencies += "org.eclipse.zenoh" % "zenoh" % "0.4.2-M1"
[org.eclipse.zenoh/zenoh "0.4.2-M1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.25
org.scijava : native-lib-loader jar 2.3.4

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
ch.qos.logback : logback-core jar 1.2.3
ch.qos.logback : logback-classic jar 1.2.3

Project Modules

There are no modules declared in this project.

zenoh banner

Build Documentation Status Gitter License License

Eclipse zenoh Java Client API

The Java API for Eclipse zenoh, based on the zenoh-c API via JNI.

⚠️ zenoh has been subjet to a complete rewrite with major protocol updates between versions 0.4.2 and 0.5.0. The Java API does not yet integrate those changes and is only compatible with version 0.4.2 of the zenoh daemon and the underlying zenoh-c stack.

Installation

zenoh-java is available on Maven Central. Just add the dependency in your POM:

  <dependency>
    <groupId>org.eclipse.zenoh</groupId>
    <artifactId>zenoh</artifactId>
    <version>0.4.2-M1</version>
  </dependency>

Building

Requirements:

Optional for cross-compilation:

  • Docker

To build for your current platform: mvn clean install

If zenoh-c is found in the same directory than zenoh-java, the build will copy its sources and compile it. Otherwise, the build will clone the zenoh-c repository and compile it.

Note that this Maven build offers profiles in addition of the default one:

  • mvn -Pdebug clean install

    • compiles zenoh-c with debug logs active
  • mvn -Prelease clean install

    • compiles zenoh-c in release mode (without logs)
    • cross-compiles zenoh-c on all supported platforms (incl. MacOS if this is your current host) using dockross.
    • generates the Javadoc
    • generate a ZIP file for release in assembly/target

Examples

See examples/zenoh/README.md

Versions

Version
0.4.2-M1