-
Notifications
You must be signed in to change notification settings - Fork 137
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
How to use a custom hono http protocol adapter? Is there an example #3448
Comments
At the moment there are there adapters that uses the HTTP Adapter base classes:
They could be used as examples. Hope that helps. |
Thanks for your reply |
The configuration values for e.g Http adapter are described at https://www.eclipse.org/hono/docs/admin-guide/http-adapter-config/. An example configuration exists inside the integration tests: https://github.com/eclipse-hono/hono/tree/master/tests/src/test/resources/http. Regarding cloud2edge, you have to extend hono helm chart to deploy the custom adapter. The properties for your custom adapter should be added to https://github.com/eclipse/packages/blob/master/charts/hono/values.yaml
In general you need LoadBalancer type for your service and then it depends on the your Kubernetes configuration. |
Thank you , I have another question I have many devices that use the MQTT protocol, but I cannot set the subject of the data to be sent |
The MQTT topic schema at the MQTT Adapter is not configurable. It is specified at https://www.eclipse.org/hono/docs/user-guide/mqtt-adapter/.
The chosen approach would depend on the use-case and deployment strategy. |
Hello, I have written a gateway through the demo on hono extra |
Hi,
The mechanism is described at https://www.eclipse.org/hono/docs/concepts/connecting-devices/#connecting-via-a-device-gateway and https://www.eclipse.org/hono/docs/concepts/connecting-devices/#connecting-via-a-protocol-gateway |
hi |
Hello, I have understood the usage of via attribute |
Hello BanDianMan, |
Hello, thank you very much for your proposal |
@BanDianMan can we close this issue? |
I saw an explanation on the official website, but I don't know how to use it
https://www.eclipse.org/hono/docs/dev-guide/custom_http_adapter/
The text was updated successfully, but these errors were encountered: