transactional.id

A stable name you give a transactional producer so the broker can recognise it across restarts.

In more detail

When a producer starts with a transactional ID already in use, the broker finishes or aborts the old instance's open transaction and fences the old instance out. Each active producer needs a unique ID.

Example

KafkaProducer(transactional_id='m04l03-txn-1')

Related terms

Taught in

References

Certification courses