
简介
该用户还未填写简介
擅长的技术栈
可提供的服务
暂无可提供的服务
创建springboot项目配置pom.xml<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><version>2.2.3.RELEASE</version>
执行环境在kibana中索引的操作创建索引库语法PUT /索引名称 {"settings": {"属性名": "属性值"}}settings:索引库设置,可以定义索引库的属性 比如分片数 副本数等,这里先不设置判断索引是否存在HEAD /索引名称查看索引单个索引GET /索引名称批量查看GET /索引名称1,索引名称2查看全部索引1GET _all查看全部索引2GET /_cat/indices?
Jenkins节点配置:在Jenkins添加凭据系统管理→Manage Credentials进入流水线配置,点击流水线语法然后把上面的脚本复制到流水线配置的脚本中注意不要换行,生成的脚本是什么样就直接粘过来pipeline {//执行脚本的服务器名agent {label 'agent-131'}stages {stage('环境验证') {steps {
es创建一个document的时候会向translog和in memory buffer中写入,为了近实时性,会将buffer中的数据写入到segment,进入了segment的数据才能被搜索到。es默认每秒钟refresh创建一个segment后台将这些小的segment合并成大的segment。每次的文档删除操作,会仅仅标记 Segment 中该文档 为删除状态, 而不会真正的立马物理删除,在
造数据# 创建索引库PUT /book{"settings": {},"mappings": {"properties": {"description": {"type": "text","analyzer": "ik_max_word"},"name": {"type": "text","analyzer": "ik_max_word"},
在gitlab服务器生成当前用户的公钥和私钥ssh-keygen -t rsa
mybatis插件mybatis可以对四大组件(executor、statementhandler、resultsethandler、parameterhandler)进行拦截比如增强parameterhandler的时候public ParameterHandler newParameterHandler(MappedStatement mappedStatement,Object object
如题本来想这样依赖@Configuration中的@bean@Configurationpublic class DataSourceConfig {Map<String, String> map = new HashMap<>();@Beanpublic DruidDataSource dataSource() throws Exception {//从读取数据库的配置}
MHA搭建 四台机器 1主 2从 1mha先搭建主从安装mysqllinux命令行下载mysql:wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.28-1.el7.x86_64.rpm-bundle.tar解压:tar -xvf mysql-5.7.28-1.el7.x86_64.rpm-bundle.tar安装:







