LIGHT

  • News
  • Docs
  • Community
  • Reddit
  • GitHub

Install Eventuate on Windows

There are some dependent services that need to be started in order to do the development of light-eventuate-4j, light-tram-4j and light-saga-4j. On Linux and Mac, we usually start all of them from a docker-compose as it is described in this tutorial.

For Windows users, AFAIK docker-compose doesn’t work. The following is a manual process to install Kafka, Zookeeper and CDC server for tram and CDC server for eventuate. In production, at least Kafka and Zookeeper will be installed as a cluster on Linux bear metal or VMs.

Start Kafka and Zookeeper

The following link is the official installation document from Kafka.

https://kafka.apache.org/quickstart

To start Zookeeper and Kafka from Windows local, please use Windows console and type following commands

Start zookeeper:

> cd \\kafka_2.11-0.10.2.0\bin\window
> zookeeper-server-start ../../config/zookeeper.properties

Start Kafka

> cd \\kafka_2.11-0.10.2.0\bin\window
> kafka-server-start ../../config/server.properties

Mysql Database

Next you need to install Mysql Database on your local.

https://dev.mysql.com/doc/mysql-getting-started/en/#mysql-getting-started-installing

Once the database is up and running, please execute the following db script from MySql command line or MySql Workbench:

https://github.com/networknt/light-docker/blob/master/mysql/eventuate.sql

If you want to try the examples, you need to execute all the scripts in that folder.

In order to use Mysql binlog for CDC server, you need to copy the replication.cnf file to /etc/mysql/conf.d folder and restart the server.

https://github.com/networknt/light-docker/blob/master/mysql/replication.cnf

Start CDC server for tram

If you want to start a tram CDC server from java -jar, you need to check out the following repos. I am assuming you are using networknt as your workspace under your user home directory.

cd ~/networknt
git clone https://github.com/networknt/light-tram-4j.git
cd light-tram-4j/tram-cdc-mysql-server/
mvn clean install
java -java target/tram-cdc-mysql-server.jar

Start CDC server for eventuate

cd ~/networknt
git clone https://github.com/networknt/light-eventuate-4j.git
cd light-eventuate-4j/eventuate-cdc-server/
mvn clean install
java -java target/eventuate-cdc-server.jar

If all the above services are up and running, you can build and run integration tests for light-tram-4j and light-eventuate-4j and build applications based on these frameworks.

  • About Light
    • Overview
    • Testimonials
    • What is Light
    • Features
    • Principles
    • Benefits
    • Roadmap
    • Community
    • Articles
    • Videos
    • License
    • Why Light Platform
  • Getting Started
    • Get Started Overview
    • Environment
    • Light Codegen Tool
    • Light Rest 4j
    • Light Tram 4j
    • Light Graphql 4j
    • Light Hybrid 4j
    • Light Eventuate 4j
    • Light Oauth2
    • Light Portal Service
    • Light Proxy Server
    • Light Router Server
    • Light Config Server
    • Light Saga 4j
    • Light Session 4j
    • Webserver
    • Websocket
    • Spring Boot Servlet
  • Architecture
    • Architecture Overview
    • API Category
    • API Gateway
    • Architecture Patterns
    • CQRS
    • Eco System
    • Event Sourcing
    • Fail Fast vs Fail Slow
    • Integration Patterns
    • JavaEE declining
    • Key Distribution
    • Microservices Architecture
    • Microservices Monitoring
    • Microservices Security
    • Microservices Traceability
    • Modular Monolith
    • Platform Ecosystem
    • Plugin Architecture
    • Scalability and Performance
    • Serverless
    • Service Collaboration
    • Service Mesh
    • SOA
    • Spring is bloated
    • Stages of API Adoption
    • Transaction Management
    • Microservices Cross-cutting Concerns Options
    • Service Mesh Plus
    • Service Discovery
  • Design
    • Design Overview
    • Design First vs Code First
    • Desgin Pattern
    • Service Evolution
    • Consumer Contract and Consumer Driven Contract
    • Handling Partial Failure
    • Idempotency
    • Server Life Cycle
    • Environment Segregation
    • Database
    • Decomposition Patterns
    • Http2
    • Test Driven
    • Multi-Tenancy
    • Why check token expiration
    • WebServices to Microservices
  • Cross-Cutting Concerns
    • Concerns Overview
  • API Styles
    • Light-4j for absolute performance
    • Style Overview
    • Distributed session on IMDG
    • Hybrid Serverless Modularized Monolithic
    • Kafka - Event Sourcing and CQRS
    • REST - Representational state transfer
    • Web Server with Light
    • Websocket with Light
    • Spring Boot Integration
    • Single Page Application
    • GraphQL - A query language for your API
    • Light IBM MQ
    • Light AWS Lambda
    • Chaos Monkey
  • Infrastructure Services
    • Service Overview
    • Light Proxy
    • Light Mesh
    • Light Router
    • Light Portal
    • Messaging Infrastructure
    • Centralized Logging
    • COVID-19
    • Light OAuth2
    • Metrics and Alerts
    • Config Server
    • Tokenization
    • Light Controller
  • Tool Chain
    • Tool Chain Overview
  • Utility Library
  • Service Consumer
    • Service Consumer
  • Development
    • Development Overview
  • Deployment
    • Deployment Overview
    • Frontend Backend
    • Linux Service
    • Windows Service
    • Install Eventuate on Windows
    • Secure API
    • Client vs light-router
    • Memory Limit
    • Deploy to Kubernetes
  • Benchmark
    • Benchmark Overview
  • Tutorial
    • Tutorial Overview
  • Troubleshooting
    • Troubleshoot
  • FAQ
    • FAQ Overview
  • Milestones
  • Contribute
    • Contribute to Light
    • Development
    • Documentation
    • Example
    • Tutorial
“Install Eventuate on Windows” was last updated: April 5, 2021: Issue246 (#256) (50b1c10)
Improve this page
  • News
  • Docs
  • Community
  • Reddit
  • GitHub
  • About Light
  • Getting Started
  • Architecture
  • Design
  • Cross-Cutting Concerns
  • API Styles
  • Infrastructure Services
  • Tool Chain
  • Utility Library
  • Service Consumer
  • Development
  • Deployment
  • Benchmark
  • Tutorial
  • Troubleshooting
  • FAQ
  • Milestones
  • Contribute