com.eworkcloud.rocket.RocketProperties Maven / Gradle / Ivy
package com.eworkcloud.rocket;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
@Getter
@Setter
@ConfigurationProperties(prefix = "rocketmq")
public class RocketProperties {
/**
* 接入域名
*/
private String nameAddr;
/**
* 访问钥匙
*/
private String accessKey;
/**
* 安全密钥
*/
private String secretKey;
/**
* GROUP ID
*/
private String groupId;
/**
* TOPIC
*/
private String topic;
/**
* 线程数(默认: CPU数)
*/
private Integer threads;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy