|  |  | 
 |  |  | package com.doumee.core.mqtt.config; | 
 |  |  |  | 
 |  |  | import com.doumee.core.constants.Constants; | 
 |  |  | import lombok.Data; | 
 |  |  | import org.eclipse.paho.client.mqttv3.MqttClient; | 
 |  |  | import org.eclipse.paho.client.mqttv3.MqttConnectOptions; | 
 |  |  | 
 |  |  | import org.eclipse.paho.client.mqttv3.persist.MemoryPersistence; | 
 |  |  | import org.springframework.boot.context.properties.ConfigurationProperties; | 
 |  |  | import org.springframework.stereotype.Component; | 
 |  |  | import org.yaml.snakeyaml.scanner.Constant; | 
 |  |  |  | 
 |  |  |  | 
 |  |  | @Component | 
 |  |  | 
 |  |  |          */ | 
 |  |  |         private String clientid; | 
 |  |  |         /** | 
 |  |  |          * 客户端编码用户订阅 | 
 |  |  |          */ | 
 |  |  |         private String subclientid; | 
 |  |  |         /** | 
 |  |  |          * 授权账号 | 
 |  |  |          */ | 
 |  |  |         private String username ; |