Skip to main content

Crate cortexkit_bus_inmemory

Crate cortexkit_bus_inmemory 

Source
Expand description

Process-local implementation of the NATS-shaped bus traits.

State intentionally disappears when the final InMemoryBus handle is dropped. Server enforcement, leaves, and system events are not emulated.

Structs§

InMemoryBus
InMemoryConfig
InMemoryConformance
InMemoryRegisterWatch
InMemoryStreamCursor
A cursor on one durable. Several cursors may share a durable, as several pullers may share a JetStream durable: an unsettled delivery is withheld from the others until its ack wait expires, then redelivered to whichever pulls next.
WorkQueueConfig

Enums§

BackendEvent

Constants§

DEFAULT_DEDUPLICATION_WINDOW
JetStream’s default message-id deduplication window.
DEFAULT_STREAM_ACK_WAIT
The stream durables’ ack wait unless a test sets another: the plane’s consumers use 30 seconds.