Recommendation: Break data into discrete batches instead of streaming continuously. If a failure occurs, only the latest batch needs to be retried, which improves reliability and reduces the impact of errors on overall data flow.
Streaming
Streaming error reference
The behavior of errors differs between non-streaming and streaming API calls.