【功能优化】IoT:重构上行请求处理逻辑,合并属性和事件上报处理,简化代码结构,删除冗余处理器
This commit is contained in:
@@ -64,17 +64,6 @@
|
||||
<artifactId>yudao-spring-boot-starter-excel</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- TODO @haohao:貌似不需要这个? -->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>io.vertx</groupId>-->
|
||||
<!-- <artifactId>vertx-web</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<!-- TODO @haohao:貌似 biz 模块,不需要 MQTT? -->
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.eclipse.paho</groupId> <!– MQTT –>-->
|
||||
<!-- <artifactId>org.eclipse.paho.client.mqttv3</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
<!-- 消息队列相关 -->
|
||||
<dependency>
|
||||
<groupId>org.apache.rocketmq</groupId>
|
||||
|
||||
@@ -10,7 +10,6 @@ import org.apache.kafka.common.serialization.StringSerializer;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
|
||||
import org.springframework.kafka.core.DefaultKafkaProducerFactory;
|
||||
import org.springframework.kafka.core.KafkaTemplate;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.time.LocalDateTime;
|
||||
@@ -24,7 +23,7 @@ import java.util.concurrent.TimeUnit;
|
||||
* @author HUIHUI
|
||||
*/
|
||||
@ConditionalOnClass(name = "org.springframework.kafka.core.KafkaTemplate")
|
||||
@Component
|
||||
//@Component
|
||||
@Slf4j
|
||||
public class IotKafkaMQDataBridgeExecute extends
|
||||
AbstractCacheableDataBridgeExecute<IotDataBridgeKafkaMQConfig, KafkaTemplate<String, String>> {
|
||||
|
||||
Reference in New Issue
Block a user