Wesley13 Wesley13
3年前
java获取kafka consumer lag
maven依赖<dependency<groupIdorg.apache.kafka</groupId<artifactIdkafkaclients</artifactId<version0.10.1.0</version</dependenc
Easter79 Easter79
3年前
spring解决循环依赖为什么要用三级缓存?
关注“苏三说技术”,回复:开发手册、时间管理有惊喜。也许有些朋友对spring的循环依赖问题并不了解,让我们先一起看看这个例子。@Service@Service@RequestMapping("/test")@SpringBootApplication我们在运行Ap
Easter79 Easter79
3年前
spring源码解析bean初始化与依赖注入二
前言本文转自“天河聊技术”微信公众号本次接着上次的介绍来解析bean初始化和依赖注入正文上一次跟踪到这个方法org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactorydoCreateBeanprotectedObjectdoCreate
Easter79 Easter79
3年前
springboot1.5.10兼容高版本6.1.1elasticsearch
1.引入依赖<dependency<groupIdorg.elasticsearch</groupId<artifactIdelasticsearch</artifactId<version${elasticsearch.versio
Stella981 Stella981
3年前
Flink实战教程
目录:自定义函数单个eval方法多个eval方法不固定参数通过注解指定返回类型注册函数构造数据源查询leftjoinjoin多种
Stella981 Stella981
3年前
SpringBoot2.0应用(五):SpringBoot2.0整合MyBatis
如何整合MyBatis1、pom依赖<dependency<groupIdorg.mybatis.spring.boot</groupId<artifactIdmybatisspringbootstarte
Stella981 Stella981
3年前
SpringBoot使用@ServerEndpoint无法依赖注入问题解决(WebSocket)
!(https://oscimg.oschina.net/oscnet/up8420801906305684903bceca6a85673cb00.png)!(https://oscimg.oschina.net/oscnet/upf7112141748204868f0368c51f4ea919103.png)如上两图所示,在WebSoc
Easter79 Easter79
3年前
SpringBoot使用@ServerEndpoint无法依赖注入问题解决(WebSocket)
!(https://oscimg.oschina.net/oscnet/up8420801906305684903bceca6a85673cb00.png)!(https://oscimg.oschina.net/oscnet/upf7112141748204868f0368c51f4ea919103.png)如上两图所示,在WebSoc
Wesley13 Wesley13
3年前
Java函数接口实现函数组合及装饰器模式
分享编程技能、互联网技术、生活感悟、打造干货分享平台,将总结的技术、心得、经验分享给大家,这里不只限于技术!还有职场心得、生活感悟、以及面经。点击上方"杨守乐",选择“置顶公众号”,第一时间送达!摘要:通过求解(sinx)^2(cosx)^21的若干写法,逐步展示了如何从过程式的写法转变到函数式的
Wesley13 Wesley13
3年前
C库函数、系统函数等调用错误的处理方法
几乎所有的系统函数和库函数在执行时都会通过返回特定的值来说明成功或出错。我们在调用它们后,必须马上对其返回值进行检测,如果调用出错则要进行相应的处理(一般是向终端输出错误信息并终止程序运行)。否则在今后程序出错时,如果通过调试去定位到该错误将会花费很长的时间。当然也有某些系统调用从不失败(例如getpid()或\_exit()等),在调用它们时可以不