[
https://issues.apache.org/jira/browse/RATIS-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rui Wang updated RATIS-2625:
----------------------------
Description:
Right now there is no metadata commit API in data stream. Data steam has a
header request, a data api that can send raw bytes in a streaming manner, and a
close.
There is practice that an application can append metadata at the end of the
stream, and consume then commit the metadata upon the stream close. However,
this is not official API. Meanwhile, such approach cannot support metadata
commits before steam close.
There could be use cases that metadata needs to be committed at specific
offset, and more than once, before data stream should be close.
> Streaming: support control plane in Data Stream
> -----------------------------------------------
>
> Key: RATIS-2625
> URL: https://issues.apache.org/jira/browse/RATIS-2625
> Project: Ratis
> Issue Type: Improvement
> Components: API
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: Major
>
> Right now there is no metadata commit API in data stream. Data steam has a
> header request, a data api that can send raw bytes in a streaming manner, and
> a close.
> There is practice that an application can append metadata at the end of the
> stream, and consume then commit the metadata upon the stream close. However,
> this is not official API. Meanwhile, such approach cannot support metadata
> commits before steam close.
> There could be use cases that metadata needs to be committed at specific
> offset, and more than once, before data stream should be close.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)