06 2018 档案
摘要:# Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note...
阅读全文
摘要:1解压tar包 2.进入config目录 3.配置server.properties文件 进入bin目录 后台启动kafka: ./kafka-server-start.sh ../config/server.properties 1>/dev/null 2>&1 & 指定监听端口启动:
阅读全文
摘要:多线程和java.util.concurrent并发包 转载:
阅读全文
摘要:读文件log传入kafka中 agent.sources = s1 agent.channels = c1 agent.sinks = k1 agent.sources.s1.type=exec agent.sources.s1.command=tail -F /tmp/logs/kafka.log
阅读全文
摘要:转载:https://www.cnblogs.com/dadonggg/p/8242682.html jar包下载地址 KafkaOffsetMonitor托管在Github上,可以通过Github下载。下载地址:https://github.com/quantifind/KafkaOffsetMo
阅读全文
摘要:spring boot整合activemq消息中间件 成功打印消息
阅读全文
摘要:错误如下: 当服务提供者不可用时,无法通过提供的接口生成service bean,此时就要使用fallback中提供的bean进行服务。原先报错是因为HelloService中的端口被绑定到了对应的方法上,也就是/refactor/hello4被占用,此时再生成RefactorHelloServic
阅读全文
摘要:只需在项目的pom.xml中加入下面插件 <build> 然后执行mvn package,就可以在target文件夹下找到生成的jar包 然后运行 java -jar ****.jar即可
阅读全文
摘要:启动: #!/bin/sh PIDFILE="/app/eureka/eureka.pid" LOGFILE="/app/eureka/out.log" if [ -f "$PIDFILE" ] && kill -0 $(cat "$PIDFILE"); then echo "eureka is a
阅读全文
摘要:https://blog.csdn.net/imjcoder/article/details/78725267 <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-eur
阅读全文
摘要:转载:https://www.cnblogs.com/Dreamer-1/p/6076440.html 一:什么是Oracle执行计划? 执行计划是一条查询语句在Oracle中的执行过程或访问路径的描述 二:怎样查看Oracle执行计划? 因为我一直用的PLSQL远程连接的公司数据库,所以这里以PL
阅读全文