# light-tram-4j **Repository Path**: networknt/light-tram-4j ## Basic Information - **Project Name**: light-tram-4j - **Description**: Transactional Messaging framework for message/event/command driven interaction style - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2018-06-13 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Transactional Messaging framework for message/event/command driven interaction style [Developer Chat](https://gitter.im/networknt/light-tram-4j) | [Documentation](http://localhost:1313/getting-started/light-tram-4j/) | [Contribution Guide](CONTRIBUTING.md) | ### 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 ```