You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iggy.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2026/09/29 02:14:44 UTC

[I] Java SDK: add purgeStream and purgeTopic [iggy]

justinmclean opened a new issue, #4329:
URL: https://github.com/apache/iggy/issues/4329

   The Rust client has `StreamClient::purge_stream` and `TopicClient::purge_topic` (`core/common/src/traits/stream_client.rs` and `topic_client.rs`), but the Java SDK has neither. Purging clears the messages and keeps the stream or topic. The command codes are already defined in `VsrOperation.java` and `CommandCode.java`.
   
   ## What to do
   
   - Add `purgeStream(StreamId)` to the blocking and async `StreamsClient` interfaces, and implement it in the TCP clients (`client/async/tcp/StreamsTcpClient.java`, `client/blocking/tcp/StreamsTcpClient.java`) and the HTTP client (`client/blocking/http/StreamsHttpClient.java`). `deleteStream` is the model to copy.
   - Add `purgeTopic(StreamId, TopicId)` the same way to the `TopicsClient` interfaces and their TCP and HTTP clients, copying `deleteTopic`.
   - Add tests next to the existing stream and topic client tests.
   
   ## Done when
   
   `purgeStream` and `purgeTopic` leave the stream or topic in place with no messages against a running server, and the new tests pass.


-- 
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: commits-unsubscribe@iggy.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Java SDK: add purgeStream and purgeTopic [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio closed issue #4329: Java SDK: add purgeStream and purgeTopic
URL: https://github.com/apache/iggy/issues/4329


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Java SDK: add purgeStream and purgeTopic [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio commented on issue #4329:
URL: https://github.com/apache/iggy/issues/4329#issuecomment-5895893883

   assigned @Ashutosh-Panda2004 


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Java SDK: add purgeStream and purgeTopic [iggy]

Posted by "Ashutosh-Panda2004 (via GitHub)" <gi...@apache.org>.
Ashutosh-Panda2004 commented on issue #4329:
URL: https://github.com/apache/iggy/issues/4329#issuecomment-5895888567

   I'd like to take this on, could you please assign it to me? I jumped the gun with #4351 before reading the contributing guide, happy to reopen it once assigned.
   


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Java SDK: add purgeStream and purgeTopic [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio commented on issue #4329:
URL: https://github.com/apache/iggy/issues/4329#issuecomment-6061378792

   we decided to make it obsolete, see the explanation in #4351


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Java SDK: add purgeStream and purgeTopic [iggy]

Posted by "hubcio (via GitHub)" <gi...@apache.org>.
hubcio closed issue #4329: Java SDK: add purgeStream and purgeTopic
URL: https://github.com/apache/iggy/issues/4329


-- 
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: commits-unsubscribe@iggy.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org