摘要:https://blog.csdn.net/weixin_38827340/article/details/86287496?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~aggregatepage~first_ran
阅读全文
摘要:ack=0 # 生产者发送消息之后立即返回,不考虑是否发送成功,效率最高; ack=1 # 默认值,生产者发送消息之后,如果首领节点接收成功 则认为发送成功; ack=-1 #生产者发送消息之后,集群所有副本均收到哦消息之后才认为发送成功,效率最低,安全最高;
阅读全文
摘要:https://www.cnblogs.com/technologykai/p/9766459.html
阅读全文
摘要:# 安装分词器,分词器版本需要和es版本完全匹配,重启es ./bin/elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.1.3/elasticse
阅读全文
摘要:https://www.cnblogs.com/yuhuLin/p/7018858.html # home es_home=/usr/share/elasticsearch # 配置文件 /etc/elasticsearch # 运行文件 /etc/init.d/elasticsearch # 运行
阅读全文
摘要:@Data @Entity @Table(name = "sys_dictionary_head") public class SysDictHead extends JpaAudit implements Serializable{ @Id @GeneratedValue(generator =
阅读全文
摘要:(一)Session超时时间设置的三种方式: (1)在web.xml中设置session-config 即交互间隔时间最长为2分钟(该处时间单位为分钟),2分钟后session.getAttribute()获取的值为空。 (2)在Tomcat的/conf/web.xml中session-config
阅读全文
摘要:原文:https://my.oschina.net/javayou/blog/1627245 1. 首先确定进程的 ID ,可以使用 jps -v 或者 top 命令直接查看 2. 查看该进程中哪个线程占用大量 CPU,执行 top -H -p [PID] 结果如下: 可以发现编号为 350xx 的
阅读全文
摘要:logger.error("error on complete task {}, variables={}", new Object[]{taskId, variables, e});
阅读全文
摘要:普通版本架构如下 项目如下: spring-cloud-config-server pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi=
阅读全文
摘要:1.环境 2.安装erlang 和 mq http://www.linuxidc.com/Linux/2016-11/136735.htm 3.配置环境变量 cd ~ vim .bash_profile source .bash_profile 4.启动服务器 rabbitmq-server 5.开
阅读全文
摘要:spring-cloud-eureka-server/pom.xml spring-cloud-eureka-userserver/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.o
阅读全文
摘要:1.设置git https://git.oschina.net/rigid/hr.git 上传如下文件: hr_config/my-client.yml hr_config/my-client-uat.yml 2.增加config server 启动之后访问:http://localhost:888
阅读全文
摘要:在 log4j.properties中添加log4j.logger.org.hibernate.SQL=DEBUGlog4j.logger.org.hibernate.type.descriptor.sql.BasicBinder=TRACElog4j.logger.org.hibernate.ty
阅读全文
摘要:http://blog.csdn.net/tounaobun/article/details/8959682
阅读全文
摘要:解决如下: pom.xml 增加: <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> <version>3.0.5</version> </dependency> <de
阅读全文
摘要:http://www.cnblogs.com/luxh/archive/2013/03/14/2960152.html
阅读全文