You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kuan Po Tseng (Jira)" <ji...@apache.org> on 2024/07/19 03:36:00 UTC
[jira] [Commented] (KAFKA-17168) The logPrefix of RemoteLogReader/RemoteStorageThreadPool is not propagated correctly
[ https://issues.apache.org/jira/browse/KAFKA-17168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17867163#comment-17867163 ]
Kuan Po Tseng commented on KAFKA-17168:
---------------------------------------
Hi [~chia7712] , I'm willing to work on this Jira if you are not working on it, many thanks
> The logPrefix of RemoteLogReader/RemoteStorageThreadPool is not propagated correctly
> ------------------------------------------------------------------------------------
>
> Key: KAFKA-17168
> URL: https://issues.apache.org/jira/browse/KAFKA-17168
> Project: Kafka
> Issue Type: Bug
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Priority: Minor
>
> RemoteLogReader [0] and RemoteStorageThreadPool [1] override the method `logPrefix` instead of passing to constructor. However, `LogContext` does not use the method `logPrefix` to set the prefix inner. That means the override method is no-op and the expected prefix is never propagated.
> [0] https://github.com/apache/kafka/blob/66655ab49a9401a62e1e99e637e0c5bd5a1ba550/core/src/main/java/kafka/log/remote/RemoteLogReader.java#L59
> [1] https://github.com/apache/kafka/blob/66655ab49a9401a62e1e99e637e0c5bd5a1ba550/storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteStorageThreadPool.java#L49
--
This message was sent by Atlassian Jira
(v8.20.10#820010)