-werners-
Esteemed Contributor III

My first reaction is: why the loop?
The streaming query should send all data to the sink.