Skip to main content

PUBLICATION_NOT_CONNECTED

Constant PUBLICATION_NOT_CONNECTED 

Source
pub const PUBLICATION_NOT_CONNECTED: i64 = _; // -1i64
Expand description

Result codes returned by AeronPublication::offer / try_claim (Aeron aeronc.h). A positive value is the resulting log position; the negatives classify the failure.

Fatal (stop offering): PUBLICATION_CLOSED, PUBLICATION_MAX_POSITION_EXCEEDED, PUBLICATION_ERROR. Transient (retry, ideally with an idle strategy): PUBLICATION_BACK_PRESSURED, PUBLICATION_NOT_CONNECTED, PUBLICATION_ADMIN_ACTION. Mirrors how Aeron’s own samples (BasicPublisher / basic_publisher.c) classify offer results.