Skip to main content

aeron_archive_persistent_subscription_context_set_replay_stream_id

Function aeron_archive_persistent_subscription_context_set_replay_stream_id 

Source
pub unsafe extern "C" fn aeron_archive_persistent_subscription_context_set_replay_stream_id(
    context: *mut aeron_archive_persistent_subscription_context_t,
    replay_stream_id: i32,
) -> c_int
Expand description

Set the id of the stream used for replays.

@param context to configure. @param replay_stream_id the stream id to use for replays. @return 0 on success, -1 on error.