Relative Content

Tag Archive for pythonflaskflask-sqlalchemy

What’s a lightweight queue implementation that I can use for simple tasks? Celery seems like overkill

I have a Flask application with a kafka consumer receiving messages. I want to put these messages into a queue and have a background thread move them into a sqlite database depending on minor logic. Looking into Celery it seems like I’ll need Redis as a broker and set up all that in my application. I just feel like this is a lot. I just need the kafka task to push the message to a list, then have a different thread/gevent/multiprocess(?) read it and stick in the database