cn.ishow.starter.rpc.constant.RpcConst Maven / Gradle / Ivy
package cn.ishow.starter.rpc.constant;
/**
* @author chongyin
* @create 2022/5/10 下午7:36
* @description 功能描述
*/
public interface RpcConst {
/**
* feign相关前缀配置
*/
String FEIGN_PREFIX = "ishow.rpc";
/**
* 读超时配置
*/
String READ_TIMEOUT = "read-timeout-mills";
/**
* 连接超时配置
*/
String CONNECTION_TIMEOUT = "connection-timeout-mills";
/**
* 统一读超时配置
*/
String GLOBAL_READ_TIMEOUT = FEIGN_PREFIX+".global."+READ_TIMEOUT;
/**
* 统一连接超时配置
*/
String GLOBAL_CONNECTION_TIMEOUT= FEIGN_PREFIX+".global."+CONNECTION_TIMEOUT;
}