Stav dette: Programming abstraction for resource aware stream processing for scientific workflows