RestartFlow eventually fails the stream?

The following statement in scaladoc seems unclear to me. It does not give clear answer whether the stream will fail or not once the number of restarts reaches the maxRestarts value:

This [[Flow]] will not emit any failure. The failures by the wrapped [[Flow]] will be handled by restarting the wrapping [[Flow]] as long as maxRestarts is not reached.

Could someone confirm that the stream will fail? Thanks.

Hi @pawelkaczor,

the Flow will fail iff maxRestarts is a value greater or equal than zero and the number of consecutive restarts exceeds that value.

Cheers.