You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Nilesh Kumar (Jira)" <ji...@apache.org> on 2026/06/20 22:32:00 UTC
[jira] [Commented] (KAFKA-20720) Review level for client-side log on share session errors
[ https://issues.apache.org/jira/browse/KAFKA-20720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18090388#comment-18090388 ]
Nilesh Kumar commented on KAFKA-20720:
--------------------------------------
[~lianetm] Same self-healing session errors are still logged at INFO on the share consumer side. OK to open a separate follow-up JIRA/PR to align with the FetchSessionHandler change?
> Review level for client-side log on share session errors
> --------------------------------------------------------
>
> Key: KAFKA-20720
> URL: https://issues.apache.org/jira/browse/KAFKA-20720
> Project: Kafka
> Issue Type: Bug
> Reporter: Nilesh Kumar
> Assignee: Nilesh Kumar
> Priority: Major
>
> When share sessions are evicted or get out of sync (broker-managed), the share consumer gets {{{}SHARE_SESSION_NOT_FOUND{}}}, {{{}INVALID_SHARE_SESSION_EPOCH{}}}, or {{SHARE_SESSION_LIMIT_REACHED}} logged at INFO in {{{}ShareSessionHandler{}}}, with an alarming message like {{{}"Node {} was unable to process the ShareFetch/ShareAcknowledge request"{}}}.
> * This is self-healing on the client (re-sends a full ShareFetch/ShareAcknowledge via {{{}nextCloseExistingAttemptNew(){}}}); no client-side action is possible.
> * Session cache is broker-managed; visibility (metrics, configs) lives on the broker.
> * Broker-side logs for epoch mismatch are already at DEBUG ({{{}SharePartitionManager{}}}, {{{}ShareSessionContext{}}}).
> Related: KAFKA-20713 (fetch equivalent, fixed in PR #22617).
> This Jira is to review the client-side log in {{ShareSessionHandler}} (consider DEBUG + {{{}isDebugEnabled{}}}, aligned with {{{}FetchSessionHandler{}}}, so apps keep relevant INFO without this noise).
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)