View Source kpro_sent_reqs (kafka_protocol v4.1.10)
Summary
Functions
Add a new request to sent collection. Return the last corrlation ID and the new collection.
Delete a request from the opaque collection. Crash if correlation ID is not found.
Get the correction to be sent for the next request.
Get caller of a request having the given correlation ID. Crash if the request is not found.
Fetch and increment the correlation ID This is used if we don't want a response from the broker
Scan all sent requests to get oldest sent request. Age is in milli-seconds. 0 is returned if there is no pending response.
Types
-type corr_id() :: kpro:corr_id().
-opaque requests()
Functions
-spec new() -> requests().