- All Implemented Interfaces:
- Serializable
public class ProducerFencedException
extends ApiException
This fatal exception indicates that another producer with the same transactional.id
has been
started. It is only possible to have one producer instance with a transactional.id
at any
given time, and the latest one to be started "fences" the previous instances so that they can no longer
make transactional requests. When you encounter this exception, you must close the producer instance.
- See Also:
- Serialized Form