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


##########
share-coordinator/src/main/java/org/apache/kafka/coordinator/share/ShareCoordinatorShard.java:
##########
@@ -814,7 +814,7 @@ private Optional<ReadShareGroupStateResponseData> 
maybeGetReadStateError(ReadSha
 
         SharePartitionKey mapKey = SharePartitionKey.getInstance(groupId, 
topicId, partitionId);
         if (leaderEpochMap.containsKey(mapKey) && leaderEpochMap.get(mapKey) > 
partitionData.leaderEpoch()) {
-            log.error("Request leader epoch id is smaller than last 
recorded.");
+            log.error("Request leader epoch id is smaller than last recorded 
current: {}, requested:{}.", leaderEpochMap.get(mapKey), 
partitionData.leaderEpoch());

Review Comment:
   will also add prefix mentioning type of request



-- 
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

Reply via email to