Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jmoussa/pulsar-http-client

A FastAPI Pulsar HTTP client.
https://github.com/jmoussa/pulsar-http-client

apache apache-pulsar fast-api fastapi pulsar pulsar-notifications

Last synced: 1 day ago
JSON representation

A FastAPI Pulsar HTTP client.

Awesome Lists containing this project

README

        

# Alfred Pulsar Notification RestAPI

This repo establishes a customizable notification service on top of Apache Pulsar and is able to be interacted with via FastAPI.

## To Run

### Required: Docker Container Running Pulsar

```bash
docker run -it \
-p 6650:6650 \
-p 8080:8080 \
--mount source=pulsardata,target=/pulsar/data \
--mount source=pulsarconf,target=/pulsar/conf \
apachepulsar/pulsar:2.7.0 \
bin/pulsar standalone
```

### Running

```bash
conda env create -f environment.yml
conda activate pulsar
python setup.py develop
cd alfred/
cp config.template.py config.py
# Fill in env variables here
./run