01 2024 档案
摘要:@Configuration @EnableAsync public class AppConfig implements AsyncConfigurer { @Bean("myAsyncThread”) public Executor getAsyncExecutor() { ThreadPool
阅读全文
摘要:@Componentpublic class KafkaRegisterEntryPoint implements CommandLineRunner { @Autowired ApplicationContext applicationContext; @Override public void
阅读全文
摘要:import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationEvent; import org.springframework.context.event.A
阅读全文
摘要:一、在linux机器上创建隧道 172.36.11.154 能访问 172.36.11.153:22端口 , 172.36.11.154 不能直接访问10.209.22.101:8157 则 172.36.11.154:18154 》(172.36.11.153:22) 》10.209.22.101
阅读全文
摘要:@FeignClient(name = "feignClient", url = "${aaa.Url:http://127.0.0.1:80}", configuration = {CustFeignConfig.class})public interface FeignClient { @Pos
阅读全文