Status

Current state: Under Discussion

Discussion thread: here 

JIRA: here 

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

Motivation

Currently, when GlobalStreamThread receives an InvalidOffsetException from global topics, it will be forwarded to the user which is used to indicate that something wrong had occurred and user needs to restart the application for that instance. We have improved upon the durability of GlobalStreamThread previously by wiping all data that had already been processed and rebuilding the store entirely (which was done in KAFKA-6121). However, we need to handle this exception automatically(as we do we in Stream Threads) so that the user does not need to restart the application whenever such a scenario arises. So, in nutshell the main motivation for this KIP is to let the runtime auto-recover instead of dying as it does currently.

Public Interfaces


Proposed Changes

Compatibility, Deprecation, and Migration Plan

Rejected Alternatives