-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#22] Add support for using Eclipse Zenoh as transport between vehicl…
…e and back-end Extended FMS Forwarder to support publishing vehicle status information to the back-end using Eclipse Zenoh. The FMS Consumer has also been extended to support consuming the data using Zenoh. A Docker Compose profile has been added for starting up a Zenoh router and running the FMS Forwarder and Consumer using the router. Co-authored-by: pgangula-src <[email protected]>
- Loading branch information
1 parent
484fa05
commit 8bf2f16
Showing
13 changed files
with
546 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!-- | ||
SPDX-FileCopyrightText: 2023 Contributors to the Eclipse Foundation | ||
See the NOTICE file(s) distributed with this work for additional | ||
information regarding copyright ownership. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
The FMS Consumer receives vehicle data either via Hono's north bound Kafka based Telemetry API or Zenoh and writes it to the Influx DB. | ||
|
||
|
||
# Building | ||
|
||
Building the consumer requires a [Rust development toolchain](https://rustup.rs/). | ||
|
||
# Running | ||
|
||
The FMS Consumer receives vehicle data either via Hono's north bound Kafka based Telemetry API or Zenoh and writes it to the Influx DB. The type of source can be selected by means of command line arguments when starting the consumer. | ||
|
||
Please refer to the command line help for details: | ||
|
||
```sh | ||
fms-consumer --help | ||
``` | ||
|
||
## Receive data from Hono's north bound Kafka based Telemetry API | ||
|
||
The consumer can receive data from Hono's north bound Kafka based Telemetry API | ||
|
||
Please refer to the command line help for details: | ||
|
||
```sh | ||
fms-consumer hono --help | ||
``` | ||
|
||
|
||
## Receive data from Zenoh | ||
|
||
The consumer can receive data from the Zenoh router of an [Eclipse Zenoh](https://projects.eclipse.org/projects/iot.zenoh/) instance. | ||
For this to work, the consumer needs to be configured with the Zenoh router end points. | ||
|
||
Please refer to the command line help for details: | ||
|
||
```sh | ||
fms-consumer zenoh --help | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.