declarative-dataflow
declarative-dataflow copied to clipboard
Lazy Sources
We should split up RegisterSource in the same vein as RegisterQuery + Interest. This would allow us store source configurations and either synthesize them in combination with a query or into an attribute.
The former would allow us to create purely streaming queries with no historical state.
A 80/20 solution here would be to add the ability to limit the number of times an attribute might be used (e.g. once), after which the trace will be dropped from the server state. This would keep all previously created dataflows running but would prevent the accumulation of new batches.