kafka_read_messages
Read recent messages from a Kafka topic to debug event flows and inspect message content.
Instructions
Read recent messages from a Kafka topic. Useful for debugging event flows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic": "<topic>"
},
"name": "kafka_read_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of messages to read (default: 10, max: 100) | |
| topic | Yes | Name of the topic to read from | |
| partition | No | Specific partition to read from (optional, reads from all if not specified) | |
| fromBeginning | No | Start reading from the beginning of the topic (default: false, reads latest) |