Stargate.Producer.Acknowledger.produce
You're seeing just the function
produce
, go back to Stargate.Producer.Acknowledger module for more information.
Specs
produce(GenServer.server(), String.t(), pid() | tuple()) :: :ok
Called by the producer when a message is produced to the Pulsar cluster. This function sends a message's context and the desired operation to perform for acknowledgement to the Acknowledger process to save in its state and act on when directed to acknowledge that message.
Unless instructed otherwise by calling Stargate.produce/3
, Stargate.produce/2
assumes the third argument to be the PID of the calling process to send
receipt confirmation and unblock.