摘要:
背景 设置RestHighLevelClient的超时间,防止请求时间过长,导致接口访问时间过长 es官方设置 Timeouts Configuring requests timeouts can be done by providing an instance of RequestConfigCa 阅读全文
摘要:
引入依赖 <!-- rocketmq --> <dependency> <groupId>com.aliyun.openservices</groupId> <artifactId>ons-client</artifactId> <version>1.8.8.5.Final</version> </ 阅读全文
摘要:
引入依赖 <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> </dependency> kafka生产 import java.io.PrintStream; 阅读全文