Hello,
Following yesterday’s discussion we continued the integration process in Kura’s enh_cloudPublishers branch [1].
From my understanding of yesterday’s discussion, there can be two topic structures differentiated if the device is not authenticated (condition only usable for testing purposes) or authenticated.
For telemetry messages, for example, the supported non authenticated topic is in the following form:
t/tenant/device/<topic-suffix>
So, for the DEFAULT_TENANT, device 4711 and topic suffix
asset1, the resulting topic at which Kura can publish is:
t/DEFAULT_TENANT/4711/asset1
For an authenticated device, the topic should be shortened, omitting the tenant-id and device-id fields.
Referring to the example described above, the topic for an authenticated device would then be:
Are my assumptions correct?
Best regards,
Matteo
[1] https://github.com/eclipse/kura/tree/enh_cloudPublishers
--
Matteo Maiero
Senior Software Engineer
direct:
+39 0433 485 902
EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A.
– Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411 | Fax +39. 0433 485499 |
Cap.
Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________
Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere
soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
This e-mail, and
any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use
of this e-mail by you is strictly forbidden.
|