# KAFKA:INPUT_TOO_LARGE in MuleSoft: cause and fix

Source page: https://ipaaserrors.com/mulesoft/kafka-input-too-large
Platform: MuleSoft · Apache Kafka Connector · Code KAFKA:INPUT_TOO_LARGE
Checked against vendor docs: 2026-11-30

KAFKA:INPUT_TOO_LARGE means the message the connector tried to publish is larger than the broker accepts. Make the message smaller, or raise the size limits on the broker and producer.

## Error text

```
Error type: KAFKA:INPUT_TOO_LARGE
```

## Likely causes

- The input is too large for the broker.

## How to fix it

1. Reduce the size of the message, for example by splitting the payload.
2. Or raise the message size limits on the broker and in the producer configuration so they match.

## 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-input-too-large and the vendor documentation above.
