I\'m using sparknlp, inside a flask application. The purpose of the flask application is to listen to a kafka server, get the stories, process them and broadcast it to another k