# KAFKA:PRODUCER_FENCED in MuleSoft: cause and fix

Source page: https://ipaaserrors.com/mulesoft/kafka-producer-fenced
Platform: MuleSoft · Apache Kafka Connector · Code KAFKA:PRODUCER_FENCED
Checked against vendor docs: 2026-11-30

KAFKA:PRODUCER_FENCED means another producer with the same transactional.id is active, so the broker fenced this one. Give each producer instance a unique transactional.id.

## Error text

```
Error type: KAFKA:PRODUCER_FENCED
```

## Likely causes

- Another producer with the same `transactional.id` is active.

## How to fix it

1. Find the other app or instance using the same `transactional.id`.
2. Give each producer instance its own `transactional.id`.
3. Restart the fenced producer.

## Notes

The MuleSoft troubleshooting page states the cause of this error type but gives no step-by-step fix. The steps above follow directly from that cause.

## Sources

- [Troubleshooting Apache Kafka Connector](https://docs.mulesoft.com/kafka-connector/latest/kafka-connector-troubleshooting)

From iPaaS Errors (https://ipaaserrors.com), part of iPaaS Group. When citing, link to https://ipaaserrors.com/mulesoft/kafka-producer-fenced and the vendor documentation above.
