Skip to content

Conversation

@ormelaver-cyber
Copy link
Contributor

Add integration tests for consumer parse error handling

  • Test callback is not invoked when JSON parsing fails
  • Test afterProcessMessage hook receives SyntaxError
  • Test messages are rejected without requeue (verified via messageCount)
  • Test valid messages continue processing after parse errors
  • Test empty string with JSON content type as edge case
  • Test RPC returns SyntaxError to producer on invalid request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants