Ereka Cluster and ribbon Load Balancing Build Quickly

1. Ereka Cluster Construction Cluster has two registry modules, which are spring-cloud-eureka-server-7001 and spring-cloud-eureka-server-7002. Following is the construction of spring-cloud-eureka-server-7001, which is the same as spring-cloud-eureka-server-7002. 1.1 pom.xml configuration file & ...

Added by d00dle on Wed, 31 Jul 2019 09:49:39 +0300

Add log4j2 to the Web Project

To add log4j to the existing engineering code and record the log information without destroying the original code structure, we need to download the package on the official website first. I downloaded apache-log4j-2.12.0-bin, download address: https://logging.apache.org/log4j/2.x/download.html 1. Fi ...

Added by cljones81 on Wed, 31 Jul 2019 09:39:34 +0300

Enterprise Section - --- Web Page Compression under nginx

Experimental environment We write index.html in/usr/local/nginx/html on a virtual machine with nginx configured. We can access the web successfully and the size of the web page is more than 200 k configuration file Nginx compresses web pages and needs to modify niginx's configuration file.Let's fi ...

Added by flash-genie on Tue, 30 Jul 2019 20:44:14 +0300

Spring Cloud - Chapter 7 - Profile Management Center (Spring Cloud Config)

I. Brief Introduction Distributed systems often have multiple services and different configuration files. Different environment profiles have different contents: development environment, test environment and production environment. To facilitate the management of a large number of configuration fil ...

Added by Kaizard on Tue, 30 Jul 2019 18:13:15 +0300

Custom Starter for SpringBoot Source

** Write in front: ** As a developer, compared with the development of Spring and Spring MVC, the biggest feeling of using SpringBook micro framework is that we can finally stop writing so many configuration files. Think back carefully, in our original spring + spring MVC development model, we need to ...

Added by mothermugger on Tue, 30 Jul 2019 17:19:36 +0300

Java Implementation of Kafka Tools and the like in 59-Dawn Big Data Classic Big Data Written Test Series

Tool Class Meaning Description kafka is one of the most typical and commonly used MQ technologies. It has gradually developed into a middleware for decoupling components of producers and consumers. code implementation Producer Tools package com.tl.job002.kafka; import java.util.Properties; import o ...

Added by olko on Tue, 30 Jul 2019 14:05:03 +0300

Sprcloud Notes | Chapter 1: Registration and Discovery Framework for Eureka Services

Introduction to Eureka When subsystems and subsystems are not in the same environment, remote calls are needed. Remote calls may be implemented using httpClient,Web Service and other technologies. However, more and more services are available in distributed systems. In this case, maintaining these static configurations manually is ...

Added by aerodromoi on Tue, 30 Jul 2019 13:16:53 +0300

java version of spring cloud+spring boot social e-commerce platform Eureka (Service Registration and Service Discovery Foundation)

1: Introduction to EurekaEureka is a sub-module and one of the core modules of Spring Cloud Netflix.For Cloud Service Discovery, a REST-based service for locating services for cloud mid-tier service discovery and failover.Java springcloud B2B2C o2o multi-user shop springcloud architecture Service registration and discovery are important for mi ...

Added by fenway on Tue, 30 Jul 2019 04:46:50 +0300

KafkaMirror Maker Setup Notes

Luckily, Kafka Mirror Maker was used to synchronize data in both locations. Here's your personal notes (not finished). Open JMX Monitoring Kafka's sensitive data using JMX requires opening the JMX port, which can be achieved by setting environment variables.My own practice is to add the following configuration to the kafka-server-start.sh scri ...

Added by cheesemunger on Mon, 29 Jul 2019 04:14:58 +0300

Learn to use Spring Cloud Netflix Eureka together

Preface Sprcloud provides a set of technology components for interconnected enterprises to build micro services, and Eureka is the core of Spring Cloud system. Netfix is not a technical concept, it was originally the name of a foreign video website. The technology team of this video website has done a lot of practice in the direction of micro-s ...

Added by EPJS on Sat, 27 Jul 2019 14:29:47 +0300