Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a json configurable implementation that supports any of zenoh, mqtt and someip #57

Open
ValMobBIllich opened this issue Nov 14, 2024 · 2 comments

Comments

@ValMobBIllich
Copy link
Contributor

We currently have a reference implementation for a zenoh-someip streamer. In addition to that there will be an implementation for a zenoh-mqtt streamer coming soon. These implementations can be great for people trying to understand a basic streamer setup or as a reference for people who want to build their own custom implementation using the streamer lib. However it might be nice to have a fully configurable streamer implementation as well, that supports all three transports and only needs to be configured by a config json.

@ValMobBIllich
Copy link
Contributor Author

I put some limited thoughts into what the config json should look like. Not very happy yet... I feel like some of the information is duplicate but maybe it can serve as a starting point.

{
  up_streamer_config: {
    ...
  },
  streamer_uuri: {
    ...
    },
  usubscription_config: {
    ...
  },
  host_transport: "zenoh",
  enabled_transports: [
    "zenoh",
    "mqtt",
    "someip"
  ],
  forwarding: [
    "ZenohToMqtt",
    "ZenohToSomeip",
    "MqttToZenoh",
    "MqttToSomeip",
    "SomeipToZenoh",
    "SomeipToMqtt"
  ],
  zenoh_config: {
    important: "zenohstuff"
  },
  someip_config: {
    important: "someipstuff"
  },
  mqtt_config: {
    important: "mqttstuff"
  }
}

@ValMobBIllich
Copy link
Contributor Author

The flow of the streamer implementation would then be something like this:

  1. get config
  2. set up the streamer
  3. create the host transport
  4. create all other transports
  5. create all endpoints
  6. add all of the selected forwardings to the streamer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant