|
|
@ -14,6 +14,7 @@ import com.zc.common.core.redis.stream.RedisStream; |
|
|
|
import org.slf4j.Logger; |
|
|
|
import org.slf4j.LoggerFactory; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.beans.factory.annotation.Qualifier; |
|
|
|
import org.springframework.data.redis.connection.stream.ObjectRecord; |
|
|
|
import org.springframework.data.redis.connection.stream.RecordId; |
|
|
|
import org.springframework.data.redis.stream.StreamListener; |
|
|
@ -35,6 +36,7 @@ public class DevicePropertyReportListener implements StreamListener<String, Obje |
|
|
|
private static final Logger log = LoggerFactory.getLogger(DevicePropertyReportListener.class); |
|
|
|
|
|
|
|
@Autowired |
|
|
|
@Qualifier("iotRedisStream") |
|
|
|
private RedisStream redisStream; |
|
|
|
@Resource |
|
|
|
private ThreadPoolTaskExecutor threadPoolTaskExecutor; |
|
|
|