Use case:
As a connector developer
I want to send multiple responses for the same request
So that I can reduce the size of a single response and improve the latency for the first answer.
Todo:
- Extend CommandExecutor to support multiple responses e.g.
public required Func<ExtendedRequest<TReq>, CancellationToken, Task<IAsyncEnumerable<ExtendedResponse<TResp>>>> OnCommandReceived { get; set; }
- Extend
CommandResponseMetadata with ResponseMessageId as well as IsLastResponse propeties
- Extend
AkriSystemProperties with ResponseMessageId (proposal ReservedPrefix + "respId")
- Extend
AkriSystemProperties with LastResponse (proposal ReservedPrefix + "lastResp")
Use case:
As a connector developer
I want to send multiple responses for the same request
So that I can reduce the size of a single response and improve the latency for the first answer.
Todo:
CommandResponseMetadatawithResponseMessageIdas well asIsLastResponsepropetiesAkriSystemPropertieswithResponseMessageId(proposal ReservedPrefix + "respId")AkriSystemPropertieswithLastResponse(proposal ReservedPrefix + "lastResp")