RestartSource is an Akka Streams source factory that recreates an upstream source after failure. Backoff and restart limits control how aggressively it retries. section 16.3.4
Recovering a streaming gRPC client
A LocatorService exposes an infinite stream of locations through server-streaming gRPC. Wrap the asynchronous client call in Source.futureSource, then pass it to RestartSource.withBackoff. The example waits 90 seconds while the service is stopped and restarted, allowing the consumer to continue after UNAVAILABLE failures.
