producer

The program that creates and sends messages or events.

In more detail

A fast producer can outrun a slow consumer, which is why queues need bounds and backpressure. Producers should give each message an identifier so consumers can detect duplicates.

Example

Kafka producers pick a partition per record and wait for the acknowledgement their acks setting asks for.

Related terms

Taught in

References

Certification courses