2024年9月29日
posted @ 2024-09-29 10:33
daofree
阅读(20)
推荐(0)
2024年8月22日
摘要:
ApplicationRunner
阅读全文
posted @ 2024-08-22 16:54
daofree
阅读(33)
推荐(0)
摘要:
http get请求不能传输中文参数, http请求是不接受中文参数的。 需要发送方,将中文参数encode,接收方将参数decodeURLEncoder.encode(msg, "UTF-8");String decodeUrl = URLDecoder.decode(encodeUrl, "ut
阅读全文
posted @ 2024-08-22 16:27
daofree
阅读(300)
推荐(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
阅读(17)
推荐(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
阅读(18)
推荐(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 /
阅读全文
posted @ 2024-04-07 15:25
daofree
阅读(15)
推荐(0)
2024年3月28日
摘要:
时钟同步 需要选取一个能访问外网源的 其他内部的跟这个外网的进行同步
阅读全文
posted @ 2024-03-28 14:36
daofree
阅读(46)
推荐(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
阅读(44)
推荐(0)
摘要:
配置 # 自定义分区# partitioner:# class: com.dfree.data.config.PartitionerByKey 代码//public class PartitionerByKey implements Partitioner {// @Override// publi
阅读全文
posted @ 2024-03-21 08:55
daofree
阅读(21)
推荐(0)
2024年3月20日
摘要:
DV证书,OV证书?https://blog.csdn.net/qq_38477071/article/details/105114008
阅读全文
posted @ 2024-03-20 20:22
daofree
阅读(11)
推荐(0)