Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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