Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hyzyla/slowstream


https://github.com/hyzyla/slowstream

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

# SlowStream

- [x] pydantic body
- [x] raw body
- [x] startup/shutdown
```python
@app.startup
def connect_db(_app: ConsumerApp) -> Iterator[None]:
print('Connect DB...')
try:
yield
finally:
print("Disconnecting DB...")
```
- [ ] middlewares
- [ ] error handling
```python
@app.middleware
def error_middleware(handler, message):
try:
handler(message)
except BaseException:
print("Some error :plak-plak")
```
- [ ] test
- [ ] blueprint/router/sub-consumer
- [ ] async functions
- [ ] reliable (do not loosing messages)
- [ ] concurrent topic execution
- [ ] sentry integration
- [ ] pytest integration
- [ ] fastapi integration