Git Product home page Git Product logo

dubbox-zookeeper-demo's Introduction

dubbox zookeeper入门说明

用到的类库或软件

  • eclipse
  • maven
  • jdk7
  • spring boot
  • zookeeper
  • dubbox
  • tomcat
  1. 安装zookeeper
  • 下载zookeeper
  • 解压下载文件,在conf文件夹下有zoo_sample.cfg文件,改名成zoo.cfg
  • 修改zoo.cfg配置文件如下
dataDir=E:\\workprograme\\dev\\zookeeper-data
dataLogDir=E:\\workprograme\\dev\\zookeeper-logs
  1. 下载dubbox(也可以使用dubbo)
  • 下载dubboxdubbo,也可以使用git clone命令下载对应的源码
  • 在源码目录中执行mvn install -Dmaven.test.skip=true
  • 在dubbo-admin项目下的target下的war包拷备到tomcat的webapps目录
  • 打开WEB-INF/dubbo.properties文件,配置内容如下,其中有zookeeper地址
dubbo.registry.address=zookeeper://127.0.0.1:2181
dubbo.admin.root.password=root
dubbo.admin.guest.password=guest
  • 启动tomcat(可能需要修改tomcat的端口)
  1. 项目界面
  • dubbo-zookeeper-demo是parent工程,配置了spring-boot等
  • dubbo-zookeeper-api是接口工程
  • dubbo-zookeeper-simple是接口实现
  • dubbo-zookeeper-client是接口调用工程

dubbox-zookeeper-demo's People

Contributors

imloama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  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.