会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
daofree
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
15
下一页
2024年10月2日
rpc协议
摘要: rpc 是 远程过程调用协议,服务与服务之间的通讯协议。 rpc是一种协议而不是一个具体的实现,它是通过一种指定的通讯协议去实现服务和服务之间的数据通讯 http 是某种实现 spring-cloud的@feign调用,就是通过http去实现rpc的调用 服务和服务之间通过可以通过http这种方式去
阅读全文
posted @ 2024-10-02 01:06 daofree
阅读(1)
评论(0)
推荐(0)
编辑
2024年9月29日
StopWatch
摘要: 计时在一起
阅读全文
posted @ 2024-09-29 10:33 daofree
阅读(1)
评论(0)
推荐(0)
编辑
2024年8月22日
ApplicationRunner
摘要: ApplicationRunner
阅读全文
posted @ 2024-08-22 16:54 daofree
阅读(2)
评论(0)
推荐(0)
编辑
url-&content=路径带中文,出现乱码,中文乱码 -http请求是不接受中文参数
摘要: http get请求不能传输中文参数, http请求是不接受中文参数的。 需要发送方,将中文参数encode,接收方将参数decodeURLEncoder.encode(msg, "UTF-8");String decodeUrl = URLDecoder.decode(encodeUrl, "ut
阅读全文
posted @ 2024-08-22 16:27 daofree
阅读(9)
评论(0)
推荐(0)
编辑
2024年6月28日
obj 转 Json
摘要: Object object = parms.get("list");// 1String s1 = JSON.toJSON(object).toString();List<XXXX> list2 = JSON.parseArray(s1, XXXX.class);// 2List<XXXXX> tA
阅读全文
posted @ 2024-06-28 09:26 daofree
阅读(4)
评论(0)
推荐(0)
编辑
2024年4月17日
cors
摘要: 在Nginx中配置access-control-allow-origin通常是为了允许跨域请求。可以通过在Nginx配置文件中添加以下代码来配置access-control-allow-origin: location / { add_header Access-Control-Allow-Orig
阅读全文
posted @ 2024-04-17 10:35 daofree
阅读(4)
评论(0)
推荐(0)
编辑
2024年4月7日
linux启定时脚本
摘要: crontab -e* * * * * /data/xxx.sh >> /data/xxx.log 2>&1 ps -ef | grep 'xxx' | grep -v grep | awk '{print $2}' | xargs -r kill -9cd /data
阅读全文
posted @ 2024-04-07 15:25 daofree
阅读(2)
评论(0)
推荐(0)
编辑
2024年3月28日
时钟同步
摘要: 时钟同步 需要选取一个能访问外网源的 其他内部的跟这个外网的进行同步
阅读全文
posted @ 2024-03-28 14:36 daofree
阅读(3)
评论(0)
推荐(0)
编辑
2024年3月21日
kafka消费
摘要: https://blog.csdn.net/AlbenXie/article/details/120341867配置 // 设置为批量消费,每个批次数量在Kafka配置参数中设置factory.setBatchListener(true); type: batch concurrency: 在消费的
阅读全文
posted @ 2024-03-21 16:43 daofree
阅读(4)
评论(0)
推荐(0)
编辑
kafka-按键分区
摘要: 配置 # 自定义分区# partitioner:# class: com.dfree.data.config.PartitionerByKey 代码//public class PartitionerByKey implements Partitioner {// @Override// publi
阅读全文
posted @ 2024-03-21 08:55 daofree
阅读(15)
评论(0)
推荐(0)
编辑
1
2
3
4
5
···
15
下一页