Skip to content

Publication#revoke

Nate Bradac edited this page Jun 6, 2025 · 3 revisions

Release publisher and subscriber resources immediately with exclusive publication revoke. Publication will not linger and not allow any trailing loss to be resolved. Subscription will not wait for any data to be received.

NB: Media driver and client code (publisher and subscriber) must run Aeron 1.48.0 or higher.

A revoked publication skips the DRAINING state and moves straight to LINGER. The EOS messages it sends out include a new REVOKED flag indicating that images should be closed immediately and resources released. Images for revoked publications also skip the DRAINING state, and they stop processing loss.

Additionally, a publication can be marked to be revoked on close, such that the subsequent close() call will execute the revoke functionality.

Clone this wiki locally