Skip to main content
Version: Next

Event Store

1. Prerequisites

  • 64-bit OS, we recommend Linux/Unix.

  • 64-bit JDK 8 or JDK 11

  • 4GB+ available disk to deploy Event Store

This document provides an example of deploying it with RocketMQ as Event Store, but you can also choose another Event Store supported by EventMesh. If you choose default standalone mode, you could skip this file and go to the next step: Deploy EventMesh Runtime; if not, you could choose RocketMQ as the store layer.

In a production environment, you should use an Event Store other than standalone to support greater throughput and higher availability.

2. Download

Download the Binary code (recommended: 4.9.*) from RocketMQ Official. Here we take 4.9.4 as an example.

unzip rocketmq-all-4.9.4-bin-release.zip
cd rocketmq-4.9.4/

rocketmq_1

3. Start

Start Name Server:

nohup sh bin/mqnamesrv &
tail -f ~/logs/rocketmqlogs/namesrv.log

rocketmq_2

Start Broker:

nohup sh bin/mqbroker -n localhost:9876 &
tail -f ~/logs/rocketmqlogs/broker.log

The deployment of Event Store has finished, please go to the next step: Start EventMesh Runtime

Reference

For more details about RocketMQ, please refer to https://rocketmq.apache.org/docs/quick-start/.