Skip to content

dnovhorodov/micro-light

Repository files navigation

Lightweight Microservices with F# and ZeroMQ

This is a sample solution for an article from F# Advent 2021. Solution consists of two projects: pub and sub which represents publisher and subscriber accordingly. Publisher randomly sends domain events: correct and incorrect, subscriber listens to it and validates.


Get Started

  • For Windows install latest Docker Desktop, for Linux install according to your distro. Follow the official manual.

  • Clone this repository

  • Run following command in the root folder:

    docker compose up -d
  • Check that publisher and subscriber services communicate by sending events:

    docker compose logs -f pub
    docker compose logs -f sub

You can also build it and run locally:

dotnet build
dotnet run --project ./src/pub/pub.fsproj
dotnet run --project ./src/sub/sub.fsproj

About

Lightweight Microservices with F# and ZeroMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published