OR博客
【ThingsBoard】转发遥测数据到Kafka
OrdinaryRoad
创建于:2022-04-06 21:59:49
更新于:2024-04-19 09:29:55
河南省
0
20
83
0
判断遥测数据是否包含某个字段,包含则转发遥测数据到Kafka,并附加metadata到header
> 示例:https://github.com/1962247851/ordinaryroad-ioe/blob/main/ordinaryroad-ioe-web/src/main/java/tech/ordinaryroad/ioe/KafkaConsumer.java --- script ``` if (msg.p) { return true; } else { return false; } ``` kakfa
评论