package com.newfiber.termite.util; import java.util.List; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; @Data @Component @ConfigurationProperties(prefix = "mqtt") public class MqttConfig { String url; Integer port; String userName; String userPassword; List<String> subscribeTopics; }