消息未在Eclipse Vorto语义规范化器中间件中映射

问题描述 投票:0回答:1

我正在流动this link,在步骤3.4之前一切正常。但是,当我使用此mosquitto_pub命令将消息发布到Bosch IOT集线器时。

mosquitto_pub -h mqtt.bosch-iot-hub.com -p 8883 -u 4712@t65a6a75c6b4f429981ba16d1b3d5f414 -P secret -t telemetry/t65a6a75c6b4f429981ba16d1b3d5f414/4712 -m '"103.3223","3.2322"' --cafile iothub.crt 

<< img src =“ https://image.soinside.com/eyJ1cmwiOiAiaHR0cHM6Ly9pLnN0YWNrLmltZ3VyLmNvbS9sMlNQTi5wbmcifQ==” alt =“规范化前端显示我发布的消息。”>

但是输出日志中没有类似tutorial的消息

<< img src =“ https://image.soinside.com/eyJ1cmwiOiAiaHR0cHM6Ly9pLnN0YWNrLmltZ3VyLmNvbS9qZ2luSS5wbmcifQ==” alt =“并且没有错误消息。”>

“已添加映射规范。”

“并且所有插件均处于非活动状态。”

为什么?有什么问题吗?

mosquitto eclipse-vorto
1个回答
0
投票

似乎您尚未使用任何出站处理程序插件启动规范化程序中间件。因此,在您的情况下,为了将任何传入的遥测数据发送到AMQP主题,您需要使用AMQP plugin

启动中间件。

完成后,您应该能够在监视下的中间件仪表板中看到日志,显示为出站消息。

对不起,我已经更改了教程以使其更清晰,请参阅https://github.com/eclipse/vorto/blob/master/docs/tutorials/create_mapping_pipeline.md#4-setting-up-eclipse-vorto-payload-normalization-middleware

© www.soinside.com 2019 - 2024. All rights reserved.