随笔 - 154  文章 - 0  评论 - 4  阅读 - 49544
上一页 1 2 3 4 5 6 ··· 16 下一页
  2024年10月2日
摘要: rpc 是 远程过程调用协议,服务与服务之间的通讯协议。 rpc是一种协议而不是一个具体的实现,它是通过一种指定的通讯协议去实现服务和服务之间的数据通讯 http 是某种实现 spring-cloud的@feign调用,就是通过http去实现rpc的调用 服务和服务之间通过可以通过http这种方式去 阅读全文
posted @ 2024-10-02 01:06 daofree 阅读(12) 评论(0) 推荐(0) 编辑
  2024年9月29日
摘要: 计时在一起 阅读全文
posted @ 2024-09-29 10:33 daofree 阅读(13) 评论(0) 推荐(0) 编辑
  2024年8月22日
摘要: ApplicationRunner 阅读全文
posted @ 2024-08-22 16:54 daofree 阅读(5) 评论(0) 推荐(0) 编辑
摘要: http get请求不能传输中文参数, http请求是不接受中文参数的。 需要发送方,将中文参数encode,接收方将参数decodeURLEncoder.encode(msg, "UTF-8");String decodeUrl = URLDecoder.decode(encodeUrl, "ut 阅读全文
posted @ 2024-08-22 16:27 daofree 阅读(111) 评论(0) 推荐(0) 编辑
  2024年6月28日
摘要: 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 阅读(6) 评论(0) 推荐(0) 编辑
  2024年4月17日
摘要: 在Nginx中配置access-control-allow-origin通常是为了允许跨域请求。可以通过在Nginx配置文件中添加以下代码来配置access-control-allow-origin: location / { add_header Access-Control-Allow-Orig 阅读全文
posted @ 2024-04-17 10:35 daofree 阅读(8) 评论(0) 推荐(0) 编辑
  2024年4月7日
摘要: 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 阅读(5) 评论(0) 推荐(0) 编辑
  2024年3月28日
摘要: 时钟同步 需要选取一个能访问外网源的 其他内部的跟这个外网的进行同步 阅读全文
posted @ 2024-03-28 14:36 daofree 阅读(20) 评论(0) 推荐(0) 编辑
  2024年3月21日
摘要: https://blog.csdn.net/AlbenXie/article/details/120341867配置 // 设置为批量消费,每个批次数量在Kafka配置参数中设置factory.setBatchListener(true); type: batch concurrency: 在消费的 阅读全文
posted @ 2024-03-21 16:43 daofree 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 配置 # 自定义分区# partitioner:# class: com.dfree.data.config.PartitionerByKey 代码//public class PartitionerByKey implements Partitioner {// @Override// publi 阅读全文
posted @ 2024-03-21 08:55 daofree 阅读(17) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 16 下一页
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示