flush

A producer call that sends every buffered record immediately and waits until each request has completed.

In more detail

Because send only queues records, a program that exits without flush or close can lose them. The course calls flush at the end of every producer and times it to compare acks and linger settings.

Related terms

Taught in

References

Certification courses