NimzyMaina / flask_kafka

Flask Kafka consumer full implementation example. Ideal for a microservices architecture.
43 stars 7 forks source link

Add Flask application context #1

Open ketgo opened 4 years ago

ketgo commented 4 years ago

Usually the kafka event handlers need to perform database operations. It would be nice if the application context can be added into the extension so that common database packges such as SQLAlchmey can be used without worrying about session management. This feature request is something similar to how Flask-CeleryExt is implemented.

NimzyMaina commented 4 years ago

Will look into this approach.