Skip to content

[Structured Streaming] Exactly-once guarantee with ILM/Rollover #1386

Open
@danielyahn

Description

@danielyahn

What kind an issue is this?

  • Feature Request.

Feature description

When using ILM (index lifecycle management) and its roll over API implementation, your ingest job needs to point at the write alias. ILM, especially with its ability to roll over by size, has benefits on operation.

However, it's not possible to have exactly-once guarantee when using write alias. Current checkpoint implementation for ES Sink doesn't capture the actual index that write alias points to.

Therefore, when if you're replaying some batches (whether one batch that failed halfway or multiple batches for any operational reason), you can't guarantee that your records are going to same index.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions