spetz commented on code in PR #2701:
URL: https://github.com/apache/iggy/pull/2701#discussion_r2795427393
##########
foreign/csharp/Iggy_SDK/IggyClient/Implementations/HttpMessageStream.cs:
##########
@@ -559,6 +559,22 @@ var response
}
}
+ /// <summary>
+ /// This method is only supported in TCP protocol
+ /// </summary>
+ /// <param name="streamId">The identifier of the stream containing the
topic (numeric ID or name).</param>
+ /// <param name="topicId">The identifier of the topic containing the
partition (numeric ID or name).</param>
+ /// <param name="partitionId">The unique partition ID.</param>
+ /// <param name="segmentsCount">The number of segments to delete.</param>
+ /// <param name="token">The cancellation token to cancel the
operation.</param>
+ /// <returns>A task representing the asynchronous operation.</returns>
+ /// <exception cref="FeatureUnavailableException"></exception>
+ public Task DeleteSegmentsAsync(Identifier streamId, Identifier topicId,
uint partitionId,
+ uint segmentsCount, CancellationToken token = default)
+ {
+ throw new FeatureUnavailableException();
Review Comment:
Looks like we do support deleting the partitions, but not segments via HTTP.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]