Chia-Ping Tsai created KAFKA-17168:
--------------------------------------
Summary: 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
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)