A streaming pipeline must provide “read-your-writes” consistency for a user session while still tolerating eventual consistency system-wide. Which strategy is most aligned with the requirement?

Answer

Implement a per-session barrier: the client reads from a session-specific view that only advances after the user’s write event is acknowledged and incorporated

Explanation

A session-level barrier provides immediate visibility for the user’s own writes while avoiding cluster-wide synchronous blocking.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list