Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.55 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.55 KB

pine-spring-boot-starter

Pine RocketMQ Spring Book Edition

中文

Support function:

  • Service Cluster
  • Heartbeat detection
  • Get client registration list

Service Cluster:

Cluster strategy adopts synchronous client registration information mode
The first pine server that receives client information, automatically synchronizes to other pine servers

Heartbeat detection:

Regularly check whether each service survives
If the service does not survive for a long time, it will be rejected.

Get client registration list

Common service cluster solutions
Provide client registration information to extend the domain

Quick Start

<!--Adding dependencies to pom. XML-->
        <dependency>
            <artifactId>pine-spring-boot-starter</artifactId>
            <groupId>com.github.thierrysquirrel</groupId>
            <version>1.4.1.4-RELEASE</version>
        </dependency>

configuration file

## application.properties
pine.service-url="127.0.0.1:6060" # This is required for service startup
pine.cluster-service-url="127.0.0.1:6060,127.0.0.1:6061,127.0.0.1:6062" # If you need a cluster, please fill in this way

Start Pine

@SpringBootApplication
@EnablePineService
public class DemoApplication{
    public static void main(String[] args){
        SpringApplication.run(DemoApplication.class, args);
    }
   
}

Russian flag