Giter VIP home page Giter VIP logo

light-tram-4j's Introduction

Transactional Messaging framework for message/event/command driven interaction style

Developer Chat | Documentation | Contribution Guide |

Build

To build the project without running integration test cases.

mvn clean package

If you have to install the jars into your local maven repository .m2, then you can

mvn clean install -DskipTests

Test

Before running integration test cases during the build. We need to start Kafka, Zookeeper Mysql and CDC server.

First find out your computer IP address by issue ifconfig and find the IP address starts with 192.XXX.XXX.XXX or 10.XXX.XXX.XXX

On my desktop it is 192.168.1.120 and you might have a different IP address. Once you found it, please run the following command with your IP to set DOCKER_HOST_IP.

export DOCKER_HOST_IP=192.168.1.120

On the same terminal, let's start Kafka, Zookeeper and Mysql

cd ~
mkdir networknt
cd networknt
git clone https://github.com/networknt/light-docker.git
cd light-docker
docker-compose -f docker-compose-eventuate.yml up

Above docker-compose will start Kafka, Zookeeper and Mysql. Wait for all three services are up and running, then start Tram CDC server.

cd ~/networknt/light-docker
docker-compose -f docker-compose-cdcserver-for-tram.yml up

Now you can run all the integration tests.

cd ~/networknt/light-tram-4j
mvn clean install

light-tram-4j's People

Contributors

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