Coder Social home page Coder Social logo

configserver's Introduction

ConfigServer

The description of Config Server 1.The config server is a publish-subscribe service.When the publisher is disconnected from the server,the server can delete all the configuration that published by this publisher. Meanwhile,the server will notify this change event to the subscriber immediately. 2.The config server use TCP protocol to implements the pub-sub. It use the netty 4.0 as the network communication framework. a) the core code of the remote module is reference from alibaba/RocketMQ. 3.All of the configurations that published by publisher are storage in MySQL database. 4.It can use as a registry for distribute service framework. For example,DUBBO,HSF,SAF and so on.

The usage of Config Server step 1 download the config server source code from the github. cd "your directory" git clone https://github.com/linckham/ConfigServer.git

step 2 install the MySQL server and initialize the config server sql script a) how to install MySQL server,see more details from Internet. b) connect to the MySQL server c) source the config server sql script source "your direcoty/ConfigServer/doc/sql/config-server.sql"

step 3 compile the config server project and start the config server a) cd "your directory" b) mvn clean package -Dmaven.test.skip=true c) cd "your directory/ConfigServer/configserver-core/deploy" d) cd bin e) sh startup.sh

step 4 subscribe the specified path a) find the ClientSubscribe class from configserver-client project b) run it as an common JAVA main program

step 5 publish the specified configuration to the config server a) find the ClientPublish class from configserver-client project b) run it as an common JAVA main program

configserver's People

Contributors

linckham avatar tomjiang1987 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.