会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
默西塞德
博客园
首页
新随笔
新文章
联系
订阅
管理
2024年12月16日
a list of lists in a properties/yml file or docker compose environment
摘要: @ConfigurationProperties("a") @Data public class InitSetting { private List<List<String>> b; } application.yml a: b: - 'string_11,string_12' - 'string
阅读全文
posted @ 2024-12-16 13:35 默西塞德
阅读(10)
评论(0)
推荐(0)
2023年3月3日
springboot jpa hibernate mysql clickhouse 多数据源
摘要: ClickhouseConfig.java @Configuration @EntityScan(basePackages = "test.entity.clickhouse") @EnableJpaRepositories( basePackages = "test.repository.clic
阅读全文
posted @ 2023-03-03 10:23 默西塞德
阅读(397)
评论(0)
推荐(0)
2021年9月29日
springboot+phoenix+mysql多数据源
摘要: @Configuration public class PhoenixDataSource { @Bean(name = "phoenixDatasource") @ConfigurationProperties(prefix = "spring.phoenix.datasource") publi
阅读全文
posted @ 2021-09-29 16:59 默西塞德
阅读(467)
评论(0)
推荐(0)
2021年1月14日
linux 修改北京时间
摘要: sudo rm -f /etc/localtimesudo ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
阅读全文
posted @ 2021-01-14 17:40 默西塞德
阅读(346)
评论(0)
推荐(1)
2021年1月11日
10/Jan/2021:07:21:40 to java time
摘要: DateTimeFormatter formatter = new DateTimeFormatterBuilder().appendPattern("dd/MMM/yyyy:HH:mm:ss") .toFormatter(Locale.CHINA); LocalDateTime localDate
阅读全文
posted @ 2021-01-11 11:56 默西塞德
阅读(121)
评论(0)
推荐(0)
2020年5月8日
常用 elasticsearch 查询 及 java 实现
摘要: collopse { "size":3, "query":{ "more_like_this":{ "fields" : ["remark"], "like" : ["特价","套装" ], "min_term_freq" : 1, "max_query_terms" : 1 } } , "coll
阅读全文
posted @ 2020-05-08 17:34 默西塞德
阅读(1523)
评论(0)
推荐(0)
2019年12月7日
jackson的readTree有坑
摘要: readTree认为上面的字符是json,坑啊 alibaba的fastjson 无论JSONObject.parseObject还是JSONObject.parseObject 都会抛异常
阅读全文
posted @ 2019-12-07 15:56 默西塞德
阅读(911)
评论(0)
推荐(0)
2019年12月4日
win10下logstash导入csv
摘要: sincedb_path:可以是一个不存在的文件 path:windows下文件分隔如果"\",不会导入数据,也没有error信息,需要改成:"/"
阅读全文
posted @ 2019-12-04 09:57 默西塞德
阅读(685)
评论(0)
推荐(0)
2019年12月3日
send csv to es with filebeat
摘要: ## filebeat *.csv 2019-11-30 23:27:50,111111,222222,VIEW,333333333333 filebeat filebeat.inputs:- paths: - C:\logs\*csv input_type: log multiline.patte
阅读全文
posted @ 2019-12-03 14:19 默西塞德
阅读(693)
评论(0)
推荐(0)
2019年5月27日
js 动态绑定解绑事件
摘要: function addEvent(obj, type, handle) { if (obj.addEventListener) { obj.addEventListener(type, handle); } else if (obj.attachEvent) { obj.attachEvent('on' + type, handle); ...
阅读全文
posted @ 2019-05-27 16:48 默西塞德
阅读(272)
评论(0)
推荐(0)
下一页