k-raina opened a new pull request, #18871: URL: https://github.com/apache/kafka/pull/18871
**Summary** Introduced two new exception classes to the Kafka error handling framework: - ApplicationRecoverableException: This exception indicates that the error is recoverable by the application but requires restarting the producer. It serves as a marker for situations where different recovery strategies (such as re-balancing tasks or restoring from checkpoints) may be employed. - RefreshRetriableException: This exception represents errors due to outdated or invalid metadata that require a refresh (e.g., updating producer metadata) before the request can be retried. It provides a structured way to handle metadata refresh scenarios in retriable operations. Both classes are abstract and in upcoming PRs they will be extended by relevant classes as mentioned in [KIP-1050:Exception Table](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=309496816#KIP1050:ConsistenterrorhandlingforTransactions-ExceptionTable). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org