smjn commented on code in PR #21785:
URL: https://github.com/apache/kafka/pull/21785#discussion_r2945609377


##########
server-common/src/main/java/org/apache/kafka/server/share/dlq/ShareGroupDLQ.java:
##########
@@ -23,6 +23,13 @@
  * The main interface to identify implementations of dead letter queues for 
share groups.
  */
 public interface ShareGroupDLQ {
+    Throwable STALE_BATCH = new Exception("Offset part of stale batch.");

Review Comment:
   @AndrewJSchofield thanks for the suggestion, I will create a specialization 
of throwable and pass appropriate arg to suppress stack trace creation.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to