Skip to content

Sender need to abort all writeBatches if InitWriter failed with AuthorizationException #931

Closed

Description

@swuferhong

Search before asking

  • I searched in the issues and found nothing similar.

Description

Currently, if Sender try to send InitWriter request and failed with AuthorizationException, it will not raise the exception to record callbacks, which will cause the flink client keep retrying. In this case, we need to trigger abortBatch() to let these writeBatches in accumulator to abort and raise exception to record callbacks. See comments in #850

Willingness to contribute

  • I'm willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions