An open API service indexing awesome lists of open source software.

https://github.com/lurst/simple_eventconsumer

:robot: A simple eventconsumer to play with
https://github.com/lurst/simple_eventconsumer

asyncio docker docker-compose event-sourcing events eventstore handlers

Last synced: 9 months ago
JSON representation

:robot: A simple eventconsumer to play with

Awesome Lists containing this project

README

          

# Simple Eventconsumer

This is the simplest python event consumer using eventstore I could think of.

## Requirements:

- docker-compose (and docker of course)

## How to Run?

- In a terminal run `docker-compose up`
- Once it's running, in another terminal, run:

```sh
python send_test_event.py "Gil"
```

You should see in the docker-compose logs the following:

```
eventconsumer_1 | WARNING:root:Hi Gil
```