Spring Cloud builds an enterprise-level bus-part one introduction and overview

introduction

Writing purpose



Background and meaning

There are many internal business systems in the enterprise, mutual calls are more complicated, interface maintenance costs are relatively large, and different systems use different development platforms, transmission protocols, data formats, etc., in this case, you need to consider using ESB .
Enterprise Service Bus (ESB) is a key part of the infrastructure used when building a service-oriented architecture (SOA) solution. It is a set of infrastructure functions that are implemented by middleware technology and support SOA. ESB supports services, messages, and event-based interactions in heterogeneous environments, and has appropriate service levels and manageability. In short, ESB provides functions to connect new and existing software applications within and across enterprises, and enables interaction between management and monitoring applications with a rich set of functions. In the SOA layered model, ESB is used between the component layer and the service layer. It can connect and integrate components on different platforms through a variety of communication protocols to map it into service layer services. The current mature and popular ESB frameworks are mainly: Spring Cloud, Dubbo, Enterprise Service Bus JBoss ESB.
At present, Spring Cloud is not well-known in China. When some Internet architects, technical VPs or CTOs are communicating, some do not even know the existence of the project. Perhaps this is also related to Dubbo, the domestic Alibaba open source service governance framework. In addition to the relatively complete Chinese documents of Dubbo itself, the architects of many technology companies are all from the Alibaba department. So based on the current situation, it is still Dubbo in China in the short term. The world.


Reference

  • http://projects.spring.io/spring-cloud/
  • http://blog.csdn.net/sosfnima/article/details/53178157
  • https://git.oschina.net/didispace/SpringBoot-Learning
  • http://blog.csdn.net/u010066934/article/details/54232622
  • Basic framework choice for microservice architecture: Spring Cloud or Dubbo?
  • Baidu knows
  • http://projects.spring.io/spring-cloud/spring-cloud.html#_service_discovery_eureka_clients
  • http://projects.spring.io/spring-cloud/spring-cloud.html#_service_discovery_eureka_clients
  • http://www.cnblogs.com/ityouknow/p/6944096.html


Definition and description of terms

  • Enterprise Service Bus (ESB) is a flexible connection infrastructure for integrating applications and services.


Software version

  • Jdk 1.7.0_79
  • Spring cloud 1.3.5


Spring Cloud technology overview

Introduction to Spring Cloud


project

detailed

Spring Cloud Config

Unified configuration management, support local/Git/SVN.

Spring Cloud Netflix

The various components provided by Netflix include Eureka, Hystrix, Zuul, Archaius, etc.

Spring Cloud Bus

The event bus that uses a distributed message mechanism to connect services and service instances is very effective for cross-cluster status notifications, such as configuration change events.

Spring Cloud for Cloud Foundry

Integration with CloudFoundry

Spring Cloud Cloud Foundry Service Broker

Provide Service Broker to manage related services

Spring Cloud Cluster

Support for Leadership election and common stateful patterns provided by abstracting and implementing Zookeeper, Redis, Hazelcast, Consul, etc.

Spring Cloud Consul

Use Hashicorp Consul for service discovery and configuration management

Spring Cloud Security

Add OAuth2 security control to the application

Spring Cloud Sleuth

Provides a Tracing mechanism compatible with Zipkin/HTrace/ELK, etc.

Spring Cloud Data Flow

The easy-to-use DSL, extended GUI and REST-API together provide a simplified microservice data flow pipeline mechanism.

project

detailed

Spring Cloud Stream

Use Apache Kafka or RabbitMQ to send and receive messages, providing a lightweight event-driven microservice framework for connecting with external systems.

Spring Cloud Stream App Starters

Based on spring boot, integrate with external systems

Spring Cloud Zookeeper

Use Apache Zookeeper for service discovery and configuration management

Spring Cloud for Amazon Web Services

Used to simplify and better integrate with Amazon Web Service

Spring Cloud Connectors

Make it easier for Paas applications to interact with back-end services (such as databases)

Spring Cloud Starters

Simpler management (similar to other starters)

Spring Cloud CLI

Use CLI to create various components of Spring Cloud.



 Spring Cloud is an ordered collection of a series of frameworks. It uses the development convenience of Spring Boot to cleverly simplify the development of distributed system infrastructure, such as service discovery registration, configuration center, message bus, load balancing, circuit breakers, data monitoring, etc., all can be done in Spring Boot development style To one-click launch and deployment. Spring does not re-manufacture wheels, it just combines the relatively mature and practical service frameworks developed by various companies, and repackages and shields them through Spring Boot style. The complex configuration and implementation principles ultimately leave developers with a set of distributed system development kits that are easy to understand, easy to deploy, and easy to maintain.
Spring Cloud contains multiple sub-projects (for multiple different open source products involved in distributed systems), such as: Spring Cloud Config, Spring Cloud Netflix, Spring Cloud CloudFoundry, Spring Cloud AWS, Spring Cloud Security, Spring Cloud Commons, Spring Cloud Zookeeper, Spring Cloud CLI and other projects.


2.2 Spring Cloud project integration


2.3 Spring Cloud features

  • Convention is better than configuration
  • Out of the box, quick start
  • Suitable for various environments
  • Lightweight components
  • Rich component support and complete functions
  • Neutral selection

Intelligent Recommendation

Part 6 Message Bus (Spring Cloud Bus)

1. Implementation principle 1. ConfigServer (Configuration Center Server) pulls the configuration file from remote git and a copy of it locally, ConfigClient (microservice) obtains its own correspondi...

Spring Cloud Alibaba Series-Part One-Introduction to Spring Cloud Alibaba

table of Contents 1. What is Spring Cloud Alibaba 2. Spring Cloud Alibaba technology stack 2.1 Main functions: 2.2 Components: 2.3 Technology selection 1. What is Spring Cloud Alibaba Official website...

Spring Batch builds enterprise-level batch applications

Build an enterprise-level batch application with Spring Batch: Part 1   Spring Batch is a Spring-based batch processing framework that makes it easy to build highly cohesive, low-coupling enterpr...

Spring Cloud builds microservice distributed cloud platform - message bus

Let's first review, in the introduction of the previous Spring Cloud Config, we also left a suspense: how to achieve real-time updates to the configuration information. Although we have been able to p...

One: Introduction to Spring Cloud

table of Contents table of Contents 1 Introduction 2. What is Spring Cloud 3. Why use Spring Cloud 4. Spring Cloud version number understanding 4.1 Why use words as version names 4.2 Version naming 5....

More Recommendation

Spring cloud bus introduction and source code analysis

Spring cloud bus introduction and source code analysis Introduction Application scenario Source code analysis to sum up Introduction According to official documents, spring cloud bus is a distributed ...

Spring Cloud builds microservice architecture (7) message bus

http://blog.didispace.com/springcloud7/ Let's review, in the introduction of the previous Spring Cloud Config, we also left a suspense: how to achieve real-time updates to the configuration informatio...

Spring Cloud builds microservices architecture (seven) message bus (continued: Kafka)

In addition to supporting the automated configuration of RabbitMQ, Spring Cloud Bus also supports Kafka, which is now widely used. In this article, we will build a Kafka local environment and use it t...

Spring Cloud builds microservice architecture (3) message bus

 Note: This article is not suitable for 0-based learners to read directly, please first completeAuthorRead all the blog posts about microservices. If you have any questions, you can read this art...

Cloud computing-12-Harbor builds an enterprise-level private mirror warehouse

Cloud computing-12-Harbor builds an enterprise-level private mirror warehouse Basic environment installation This example is installed in CentOS Install docker The old version of the uninstalled docke...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top