MuleSoft · Apache Kafka Connector
KAFKA:NOT_FOUND
KAFKA:NOT_FOUND means a Kafka Consume operation's poll brought back no records within the configured timeouts. Check that records are being published to the topic, or allow a longer timeout.
VerifiedLast verified
01Error text
Error type: KAFKA:NOT_FOUND02Likely causes
- For consume operations, the poll does not bring any records for the configured timeouts.
03How to fix it
- Confirm that records are being published to the topic and partition the consumer reads.
- If records arrive slowly, raise the operation's timeout so the poll waits longer.
- Where an empty poll is normal, handle KAFKA:NOT_FOUND in an error handler instead of failing the flow.
04Fix it with AI
Copy this prompt into Claude Code, ChatGPT or any AI assistant. It already holds the error, the likely causes and the fix steps, so the assistant starts from what is known instead of guessing.
I'm getting this error in MuleSoft Anypoint (Apache Kafka Connector):
Error type: KAFKA:NOT_FOUND
What it usually means: KAFKA:NOT_FOUND means a Kafka Consume operation's poll brought back no records within the configured timeouts. Check that records are being published to the topic, or allow a longer timeout.
Likely causes:
- For consume operations, the poll does not bring any records for the configured timeouts.
Fix steps that usually work:
1. Confirm that records are being published to the topic and partition the consumer reads.
2. If records arrive slowly, raise the operation's timeout so the poll waits longer.
3. Where an empty poll is normal, handle KAFKA:NOT_FOUND in an error handler instead of failing the flow.
Help me fix it. If you can read my project files, find where this error comes from. If not, ask me for what you need (the failing step, its input, the connection or config). Check the likely causes one by one, tell me which one it is and why, then give me the exact change to make. Do not change anything in production. Reference: https://ipaaserrors.com/mulesoft/kafka-not-foundNothing is sent anywhere from this page. Read what the assistant suggests before you apply it.
iNotes
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.
05Official documentation
→Related errors
- KAFKA:TIMEOUTKAFKA:TIMEOUT means a Kafka request took longer than the connector's configured timeout values. Find out why the broker is slow to answer, or raise the timeout for that request.
- KAFKA:OUT_OF_RANGEKAFKA:OUT_OF_RANGE means the consumer's offsets are outside the range the broker holds for the partition, and no offset reset policy is defined. Set an offset reset policy, or seek to a valid offset.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for MuleSoft work:Open MuleSoft jobsMuleSoft pay estimates