Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [hono-dev] Hono-Kura integration

Hi Matteo,

 

Only general feedback (without having been at yesterday’s meeting):

 

Yes, your assumptions are correct.

 

With one remark: for telemetry messages at the MQTT adapter we have no <topic-suffix>, just “t/tenant/device” for unauthenticated devices,

and “t” with specifying the device and tenant during the authentication for authenticated devices.

 

So, you publish telemetry messages to “t” with a payload then, and rather put the “asset1” inside the payload.

 

But maybe you had new discussions yesterday, and introduced a concept “topic-suffix”? I just refer to the current concept in Hono.

 

Best regards,

Karsten




From: hono-dev-bounces@xxxxxxxxxxx <hono-dev-bounces@xxxxxxxxxxx> On Behalf Of Maiero, Matteo
Sent: Mittwoch, 13. Juni 2018 15:01
To: hono-dev@xxxxxxxxxxx
Subject: [hono-dev] Hono-Kura integration

 

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:

t/asset1

 

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.

 


Back to the top