You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2020/11/07 20:16:00 UTC
[jira] [Updated] (KAFKA-10694) Implement zero copy for
FetchSnapshot
[ https://issues.apache.org/jira/browse/KAFKA-10694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jose Armando Garcia Sancio updated KAFKA-10694:
-----------------------------------------------
Description:
Change the `RawSnapshotWriter` and `RawSnapshotReader` interface to allow sending and receiving `FetchSnapshotResponse` with minimal memory copies.
The could be implemented by making the following changes
{code:java}
interface RawSnapshotWriter {
...
public void append(MemoryRecords records) throws IOException;
} {code}
{code:java}
interface RawSnapshotReader {
...
public BaseRecords slice(long position) throws IOException;
}{code}
> Implement zero copy for FetchSnapshot
> -------------------------------------
>
> Key: KAFKA-10694
> URL: https://issues.apache.org/jira/browse/KAFKA-10694
> Project: Kafka
> Issue Type: Sub-task
> Components: replication
> Reporter: Jose Armando Garcia Sancio
> Priority: Major
>
> Change the `RawSnapshotWriter` and `RawSnapshotReader` interface to allow sending and receiving `FetchSnapshotResponse` with minimal memory copies.
> The could be implemented by making the following changes
> {code:java}
> interface RawSnapshotWriter {
> ...
> public void append(MemoryRecords records) throws IOException;
> } {code}
> {code:java}
> interface RawSnapshotReader {
> ...
> public BaseRecords slice(long position) throws IOException;
> }{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)