/kafkaless

an experiment with go + service weaver + msk serverless

Primary LanguageGoMIT LicenseMIT

kafkaless

an experiment with go + service weaver + msk serverless

Getting Started

You will need to have the following installed to work with the project

  1. Go
  2. Weaver
  3. Docker

Running The App

The following assumes you are running a machine with Make available. If not, you can use the the Go toolchain and Weaver CLI directly. Please consult the Makefile for the commands that are used to compose the following Make recipes.

Ensure Kafka is running and configured by executing the following in your terminal

make kafka.run

Run the following in your terminal:

// run the app as a monolith on your local machine
make monolith.run
// run the app as a fleet of micro services on
// your local machine
make services.run

// to view the diagnostics dashboard run the following
// in a new terminal
make services.dashboard

Once you have verified the application is running, run the following to issue 1000 example requests to the running API server

make requests