Dict.CN 在线词典, 英语学习, 在线翻译 ------------- MyGitee My腾云code

Happy_EveryDay

可以平凡 不可以平庸 无爱则无忧,无欲则无求,无怒而无敌,无怨才是佛。所有烦恼,都是放不下的执著 开源技群 328035181 MyGitee

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 44 下一页

2023年1月6日

SpringCloud-Stream整合RabbitMQ

摘要: 我们知道,当微服务越来越来多的时候,仅仅是feign的http调用方式已经满足不了我们的使用场景了。这个时候系统就需要接入消息中间件了。相比较于传统的Spring项目、SpringBoot项目使用消息中间件的很多配置不同,SpringCloud Stream抽象了中间件产品的不同,在SpringCl 阅读全文

posted @ 2023-01-06 16:13 cn2025 阅读(730) 评论(0) 推荐(0)

2022年12月16日

sb+websocket实例

摘要: 1、pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <depe 阅读全文

posted @ 2022-12-16 11:52 cn2025 阅读(73) 评论(0) 推荐(0)

2022年12月6日

sb3.0+polaris-server(北极星) 20221206

摘要: 1、polaris-server(北极星)安装 (windows版本) 1)、安装前准备 安装golanggolang官网:https://golang.google.cn/golang下载地址:https://golang.google.cn/dl/ 安装powershell 5.0及以上版本 h 阅读全文

posted @ 2022-12-06 15:35 cn2025 阅读(194) 评论(0) 推荐(0)

2022年11月29日

网关Zuul+route+Filter+Fallback+Retry笔记20221202

摘要: 一、ek20141、pom.xml <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> </depe 阅读全文

posted @ 2022-11-29 15:04 cn2025 阅读(104) 评论(0) 推荐(0)

2022年11月25日

spark-streaming kafka 生产 消费(订阅) springboot-scala20221125

摘要: 1、pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependen 阅读全文

posted @ 2022-11-25 11:36 cn2025 阅读(96) 评论(0) 推荐(0)

2022年11月20日

Jenkins容器<二>---发布springboot项目 20221120

摘要: 一、Jenkins容器<-> 通过docker安装 20221004 二、Jenkins容器<二> 发布springboot项目 20221120 1、gitee==>项目springboot jktest01 2、系统管理 (安装插件、全局工具配置) 1)、安装插件 2)、全局工具配置 配mave 阅读全文

posted @ 2022-11-20 20:31 cn2025 阅读(82) 评论(0) 推荐(0)

2022年11月17日

容器中使用docker build提示docker: not found所遇到的坑(巨坑)

摘要: https://blog.csdn.net/oRanXiaoLuo/article/details/125049124 阅读全文

posted @ 2022-11-17 22:18 cn2025 阅读(334) 评论(0) 推荐(0)

2022年10月31日

IDEA 配置 jenkins——CSRF enabled->Missing or bad crumb data

摘要: 1. crumb data当我填入 Jenkins 的地址和账号密码点击Test Connection,提示我没有 crumb data看其他人的解决方法,通过下面的链接可以获取到 crumb datahttp://ip:port/crumbIssuer/api/xml?tree=crumb不过,在 阅读全文

posted @ 2022-10-31 15:34 cn2025 阅读(363) 评论(0) 推荐(0)

2022年10月27日

OpenResty+mysql+redis

摘要: 1、 ad_load.lua nginx.conf 1、读取mysql并缓存redis 参考:https://chuna2.787528.xyz/bbgs-xc/p/14437703.html https://chuna2.787528.xyz/yangjiaoshou/p/15094596.html 里面 阅读全文

posted @ 2022-10-27 18:26 cn2025 阅读(35) 评论(0) 推荐(0)

nginx+lua+redis实现广告缓存

摘要: 需求分析# 需要在页面上显示广告的信息。 OpenResty# OpenResty介绍# OpenResty(又称:ngx_openresty) 是一个基于 NGINX 的可伸缩的 Web 平台,由中国人章亦春发起,提供了很多高质量的第三方模块。 OpenResty 是一个强大的 Web 应用服务器 阅读全文

posted @ 2022-10-27 10:43 cn2025 阅读(226) 评论(0) 推荐(0)

nginx限流+jmeter

摘要: 一般情况下,首页的并发量是比较大的,即使有了多级缓存,如果有大量恶意的请求,也会对系统造成影响。而限流就是保护措施之一。 nginx提供两种限流的方式: 一是控制速率 二是控制并发连接数 控制速率# 控制速率的方式之一就是采用漏桶算法。 漏桶算法实现控制速率限流# 漏桶(Leaky Bucket)算 阅读全文

posted @ 2022-10-27 10:35 cn2025 阅读(163) 评论(0) 推荐(0)

线程池实现服务隔离

摘要: 线程池实现服务隔离 问题分析# 在微服务架构中,我们将业务拆分成一个个的服务,服务与服务之间可以相互调用,由于网络原因或者自身的原因,服务并不能保证服务的100%可用,如果单个服务出现问题,调用这个服务就会出现网络延迟,此时若有大量的网络涌入,会形成任务累计,导致服务瘫痪。 在SpringBoot程 阅读全文

posted @ 2022-10-27 09:18 cn2025 阅读(294) 评论(0) 推荐(0)

2022年10月26日

Springboot 一行代码实现文件上传 20个平台!少写代码到极致

摘要: 又是做好人好事的一天,有个小可爱私下问我有没有好用的springboot文件上传工具,这不巧了嘛,正好我私藏了一个好东西,顺便给小伙伴们也分享一下,demo地址放在文末了。 文件上传在平常不过的一个功能,做后端开发的基本都会接触到,虽然不难可着实有点繁琐。数据流的开闭、读取还容易出错,尤其是在对接一 阅读全文

posted @ 2022-10-26 17:14 cn2025 阅读(155) 评论(0) 推荐(0)

spark springboot hbase(读取student、写入student)20221026

摘要: 1、pom.xml <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.11</artifactId> <version>1.6.0</version> <exclusions> <exclusion> 阅读全文

posted @ 2022-10-26 15:01 cn2025 阅读(101) 评论(0) 推荐(0)

微服务并发 22221025

摘要: 阅读全文

posted @ 2022-10-26 08:54 cn2025 阅读(27) 评论(0) 推荐(0)

2022年10月25日

Jmeter笔记22221024

摘要: 1、测试计划 》线程组 >http请求、查看结果树 阅读全文

posted @ 2022-10-25 10:17 cn2025 阅读(26) 评论(0) 推荐(0)

2022年10月24日

IDEA 中Spark SQL通过JDBC连接mysql数据库

摘要: 一.IDEA装驱动: 1.下载一个MySQL的JDBC驱动:mysql-connector-java-5.1.44.tar.gz2.在idea Open Moudle Settings 在 Moudle中 选Dependencies + JDC驱动的解压位置 选(mysql-connector-ja 阅读全文

posted @ 2022-10-24 17:00 cn2025 阅读(232) 评论(0) 推荐(0)

spark springboot 实例写入mysql(写入blog表),mysql(读取student、写入student2)20221024

摘要: 1、pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter</artifactId> </dependency> <dependency> <groupId>or 阅读全文

posted @ 2022-10-24 16:58 cn2025 阅读(150) 评论(0) 推荐(0)

2022年10月21日

spark springboot 实例WordCount.scala20221021

摘要: spark解析aa.txt 1、aa.txt 2、pom.xml <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.11</artifactId> <version>2.1.1</version> <e 阅读全文

posted @ 2022-10-21 18:00 cn2025 阅读(75) 评论(0) 推荐(0)

spark scala 安装 window20221021

摘要: 1、spark安装 http://archive.apache.org/dist/spark/spark-2.2.0/spark-2.2.0-bin-hadoop2.7.tgz 环境变量: 创建SPARK_HOME:D:\spark-2.2.0-bin-hadoop2.7 Path添加:%SPARK 阅读全文

posted @ 2022-10-21 16:04 cn2025 阅读(40) 评论(0) 推荐(0)

2022年10月20日

MQTT——java简单测试

摘要: 服务端代码: 1 package bsit.mqtt.demo.one_way; 2 3 import org.eclipse.paho.client.mqttv3.MqttClient; 4 import org.eclipse.paho.client.mqttv3.MqttConnectOpti 阅读全文

posted @ 2022-10-20 16:27 cn2025 阅读(209) 评论(0) 推荐(0)

MQTT——服务器搭建

摘要: http://archive.apache.org/dist/activemq/activemq-apollo/1.7.1/ 参考 阅读全文

posted @ 2022-10-20 14:33 cn2025 阅读(38) 评论(0) 推荐(0)

物联网架构成长之路

摘要: 【http://chuna2.787528.xyz/wunaozai/p/8067621.html】 物联网架构成长之路(1)-前言 【http://chuna2.787528.xyz/wunaozai/p/8075640.html】 物联网架构成长之路(2)-脚手架工具准备 【http://www.cnb 阅读全文

posted @ 2022-10-20 11:51 cn2025 阅读(80) 评论(0) 推荐(0)

springboot +redis+token

摘要: 1、pom.xml <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> <dependency> 阅读全文

posted @ 2022-10-20 11:09 cn2025 阅读(211) 评论(0) 推荐(0)

2022年10月13日

Jenkins 20221012笔记本9

摘要: 阅读全文

posted @ 2022-10-13 09:36 cn2025 阅读(34) 评论(0) 推荐(0)

2022年10月11日

Jenkins 20221010笔记本8

摘要: 阅读全文

posted @ 2022-10-11 09:49 cn2025 阅读(37) 评论(0) 推荐(0)

2022年10月9日

Jenkins 20221008笔记本7

摘要: 阅读全文

posted @ 2022-10-09 08:46 cn2025 阅读(31) 评论(0) 推荐(0)

2022年10月8日

Spring Cloud Alibaba

摘要: 有关微服务的一些概念的东西我这里就不再阐述了,因为之前在写Spring Cloud系列的时候都有详细写过。 具体地址: Spring Cloud系列博客 这个系列开始来讲Spring Cloud Alibaba,第一步先从概述说起。 一、概述 1、简介 Spring Cloud Alibaba,它是 阅读全文

posted @ 2022-10-08 16:13 cn2025 阅读(108) 评论(0) 推荐(0)

Jenkins 20221007笔记本6

摘要: 阅读全文

posted @ 2022-10-08 10:58 cn2025 阅读(31) 评论(0) 推荐(0)

2022年9月30日

Jenkins 20220929笔记本5

摘要: 阅读全文

posted @ 2022-09-30 09:58 cn2025 阅读(36) 评论(0) 推荐(0)

2022年9月28日

Jenkins 20220927笔记本4

摘要: 阅读全文

posted @ 2022-09-28 09:04 cn2025 阅读(29) 评论(0) 推荐(0)

2022年9月27日

spring-retry 20220929

摘要: 1、pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <depe 阅读全文

posted @ 2022-09-27 14:45 cn2025 阅读(37) 评论(0) 推荐(0)

SpringCloud重试retry 20220927

摘要: SpringCloud重试retry是一个很赞的功能,能够有效的处理单点故障的问题。主要功能是当请求一个服务的某个实例时,譬如你的User服务启动了2个,它们都在eureka里注册了,那么正常情况下当请求User服务时,ribbon默认会轮询这两个实例。此时如果其中一个实例故障了,发生了宕机或者超时 阅读全文

posted @ 2022-09-27 09:37 cn2025 阅读(157) 评论(0) 推荐(0)

2022年9月26日

Jenkins 20220925笔记本3

摘要: 阅读全文

posted @ 2022-09-26 09:12 cn2025 阅读(27) 评论(0) 推荐(0)

2022年9月23日

Jenkins 20220922笔记本2

摘要: 阅读全文

posted @ 2022-09-23 09:14 cn2025 阅读(36) 评论(0) 推荐(0)

2022年9月22日

springboot+Flink(读取kafka并存入Hbase)20220921

摘要: 1、pom.xml <properties> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEn 阅读全文

posted @ 2022-09-22 17:16 cn2025 阅读(528) 评论(0) 推荐(0)

Jenkins 20220921笔记本1

摘要: 阅读全文

posted @ 2022-09-22 08:52 cn2025 阅读(35) 评论(0) 推荐(0)

2022年9月21日

springboot+Flink(读取kafka并存入Mysql)20220921

摘要: 1、mysql数据库test 2、kafka创建主题student 3、pom.xml <properties> <java.version>1.8</java.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEnc 阅读全文

posted @ 2022-09-21 19:40 cn2025 阅读(3749) 评论(0) 推荐(0)

2022年9月20日

实战大数据 20220919笔记本10

摘要: 阅读全文

posted @ 2022-09-20 08:52 cn2025 阅读(40) 评论(0) 推荐(0)

2022年9月19日

springboot+Flink 接收、处理数据20220919

摘要: 1、pom.xml <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <depe 阅读全文

posted @ 2022-09-19 17:46 cn2025 阅读(658) 评论(0) 推荐(0)

上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 44 下一页

导航