ydb-platform / ydb-java-sdk

YDB Java SDK
https://ydb.tech
Apache License 2.0
37 stars 21 forks source link

Fail `WriterImpl#initImpl` with an error in case of a data stream with a fully utilized storage #302

Closed Myllyenko closed 3 months ago

Myllyenko commented 3 months ago

Problem

Given:

When:

Then:

Expected Behavior

The returned Future fails with an error indicating the failure reason (full storage utilization) either immediatly or after a configurable timeout.

pnv1 commented 3 months ago

At the moment Topic SDK retries every error indefinitely. It will be possible to set reaction on different error types in retry policies that should be added in #81