全配置在application配置文件(方式1) maven依赖 <!--druid的启动器--> <dependency> <groupId>com.alibaba</groupId> <artifactId>druid-spring-boot-starter</artifactId> <vers ...
分类:
编程语言 时间:
2020-02-14 13:10:52
阅读次数:
98
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONException; import com.alibaba.fastjson.JSONOb ...
分类:
编程语言 时间:
2020-02-14 10:39:12
阅读次数:
88
Docker — Arthas 3.1.7 文档https://alibaba.github.io/arthas/docker.html arthas: Arthas(阿尔萨斯)是阿里巴巴开源的 Java 诊断工具https://gitee.com/arthas/arthas 阿里巴巴云原生/中间件 ...
分类:
其他好文 时间:
2020-02-14 00:48:40
阅读次数:
66
收集的镜像,yum源等网站地址 阿里巴巴开源镜像站 https://opsx.alibaba.com/mirror http://mirrors.aliyun.com/centos/ 网易开源镜像站 http://mirrors.163.com/ Centos社区镜像站 http://mirror. ...
分类:
其他好文 时间:
2020-02-13 22:55:25
阅读次数:
78
1 <dependency> 2 <groupId>com.alibaba</groupId> 3 <artifactId>fastjson</artifactId> 4 <version>1.2.58</version> 5 </dependency> View Code ...
分类:
Web程序 时间:
2020-02-12 18:23:44
阅读次数:
95
作者 | 酒祝 阿里巴巴技术专家 本文整理自《CNCF x Alibaba 云原生技术公开课》第 22 讲。 关注“阿里巴巴云原生”公众号,回复关键词 “入门” ,即可下载从零入门 K8s 系列文章 PPT。 导读 :有状态应用的部署交付向来都是应用运维领域的难点之一,常见的有状态需求如在磁盘持久化 ...
分类:
其他好文 时间:
2020-02-12 16:44:49
阅读次数:
79
1、Sentinel注解支持 在学习熔断降级之前,我们先来看一下Sentinel的注解支持,我们使用spring-cloud-starter-alibaba-sentinel依赖,无需额外配置即可使用@SentinelResource注解定义资源。 @SentinelResource 用于定义资源, ...
分类:
其他好文 时间:
2020-02-12 16:31:57
阅读次数:
124
最近有需求将数据从mysql同步到oracle,之前有使用kettle将表从oracle同步到mysql,这里使用的插件依然是阿里的dataX 详细见:Githup地址:https://github.com/alibaba/DataX 这里也是根据阿里云的一篇帖子来进行验证 https://yq.a ...
分类:
数据库 时间:
2020-02-11 11:54:21
阅读次数:
322
通用资源保护 引入依赖需要注意SpringCloud-Alibaba与SpringCloud的版本关系 父工程引入 alibaba实现的SpringCloud <dependencyManagement> <dependencies> <dependency> <groupId>org.spring ...
分类:
其他好文 时间:
2020-02-09 14:36:23
阅读次数:
101
实现类源码 package com.txj.bwbd.es.esService.impl; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.bean.copier.CopyOptions; import com.alibaba.f ...
分类:
数据库 时间:
2020-02-06 10:44:58
阅读次数:
74