- 博客(11)
- 问答 (1)
- 收藏
- 关注
原创 Excel导入导出mysql
1,导入public Object importToData(MultipartFile file){ HashMap<String, Object> result = new HashMap<>(); String filename = file.getOriginalFilename(); // 获取文件后缀名,判断是...
2020-01-09 09:33:02
168
转载 netty之websocket
转载自http://www.demodashi.com/search.html1,添加jar包<dependency> <groupId>io.netty</groupId> <artifactId>netty-all</artifactId> <version>5.0.0.Alpha1</versi...
2019-11-06 14:08:28
259
原创 json的相互转换
json转换1,json 和String转换import net.sf.json.JSONArray;import net.sf.json.JSONObject;(1)string ----------->jsonJSONObject json = JSONObject.fromObject(s);(2)json-------------------> str...
2019-11-05 22:44:20
187
转载 centos7内核优化
转载https://www.cnblogs.com/mydba-j/p/9628619.htmlcentos7内核优化#sysctl -p参数:net.ipv6.conf.all.disable_ipv6 = 1net.ipv6.conf.default.disable_ipv6 = 1net.ipv4.icmp_echo_ignore_broadcasts = 1net...
2019-08-15 21:17:47
248
转载 redis主从集群搭建(三台机器)
转载自https://www.cnblogs.com/carrychan/p/9396997.html作者 :CarryChan三台机器:redis-server10.111.101.13:637910.111.101.98:637910.111.100.207:6379redis-sentinel10.111.101.13:680010.111.10...
2019-08-07 15:31:45
2880
原创 ES学习(01)
命令篇1,获取所有的集群节点信息 GET /_cat/nodes?v2,获取所有的索引信息 GET /_cat/indices?v3, 创建索引PUT /student/external/1{ "name":"chengkun"}4,查看某一个索引GET student/external/25,根据条件查询指定索引POST...
2019-07-23 11:46:35
104
转载 java之UDP
客户端public class UDPClient { public static void main(String[] args) { String sendStr = null; String netAddress = args[0]; final int PORT_NUM = Integer.parseInt(args[1]);//Integer.parseInt(args...
2019-07-18 13:23:21
135
原创 java之间的各种转换
1,十六进制转ASCII码private static String hexToAscii(String hexStr) { StringBuilder output = new StringBuilder(""); for (int i = 0; i < hexStr.length(); i += 2) { String str...
2019-07-16 17:23:48
175
原创 confluent-ksql 学习
相关配置1,进入etc/ksql/ksql.properties文件listeners=http://192.168.237.136:8088ksql.logging.processing.topic.auto.create=trueksql.logging.processing.stream.auto.create=truebootstrap.servers=192.168...
2019-07-14 17:29:09
2985
原创 kafka-rest和schema registry服务注册
一,下载confluent安装包,解压到linux目录,进入etc/kafka-rest/kafka-rest.propertieskafka-rest.properties配置id=kafka-rest-test-serverschema.registry.url=http://192.168.237.136:8081zookeeper.connect=192.168.237.136:2...
2019-07-14 17:09:51
1987
空空如也
kafka 里面 ktable问题
2020-02-03
TA创建的收藏夹 TA关注的收藏夹
TA关注的人