为了测试Avro Schema的兼容性,新建2个Java project,其中v1代表的是第一个版本, v2代表的是第二个版本。 测试步骤: Run producer-v1,去schema registry UI看schema版本 Run producer-v2,去schema registry U ...
分类:
编程语言 时间:
2020-07-21 21:58:41
阅读次数:
60
mybatis的基础安装使用 1.jar包 :相关jar包的导入,包含mysql-connector-java-3.1.12-bin.jar mybatis-3.2.3.jar commons-logging-1.1.1.jar 等。 2.po类 :此处以学生类为例 public class Stu ...
分类:
其他好文 时间:
2020-07-21 21:47:46
阅读次数:
51
本次利用Java+netty实现自定义rpc框架,共分为三个工程,公共模块+服务提供者+服务消费者: rpc-common工程 pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.or ...
分类:
编程语言 时间:
2020-07-21 14:16:43
阅读次数:
78
https://github.com/google/guava/blob/master/guava/src/com/google/common/util/concurrent/RateLimiter.java 异常参数校验 Preconditions类 部分方法: checkArgument使用:P ...
分类:
其他好文 时间:
2020-07-20 22:29:07
阅读次数:
74
1.目录结构 build:webpack构建命令目录,包括运行开发环境,项目打包等配置 config:webpack和node基础,开发,线上环境的配置 dist:webpack打包后生成的静态文件目录 node_modules:项目依赖的js包 src:项目根目录 assets:静态资源目录,这里 ...
分类:
其他好文 时间:
2020-07-19 17:58:59
阅读次数:
82
. 1.看以上错误 "TypeError: Cannot read property 'path' of null".说明是执行了null.path导致报错, 那么正常情况下应该是有一个数组,path是数组里面的其中一个值,但是返回的数据为null,赋值给了这个数组。 所以执行array.path时 ...
分类:
其他好文 时间:
2020-07-19 16:25:04
阅读次数:
84
安装docker 19.03.12 1:物理环境 本机环境:Centos7.7 为了环境的纯净卸载老版本 yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker-latest \ docker ...
分类:
其他好文 时间:
2020-07-19 16:20:14
阅读次数:
300
using System; using System.Collections.Generic; using System.Data; using System.Data.Common; using System.Data.SqlClient; using System.Reflection; usi ...
分类:
数据库 时间:
2020-07-18 16:11:44
阅读次数:
118
# 步骤:# 1.导入模块# 2.导入动作链条头# 3.设计动作# 4.执行from selenium import webdriverfrom selenium.webdriver.common.action_chains import ActionChains#1)ActiongChains类中 ...
keys()类中提供的键盘的操作from selenium.webdriver.common.keys import Keysfrom selenium.webdriver.common.action_chains import ActionChainsimport time#1.单键操作#简单操作 ...