Messages
View, filter, search, and export Kafka messages.
Message Viewer
The message viewer lets you consume and inspect messages in real-time.
Starting a Consumer
- Select a topic from the sidebar
- Go to the Messages tab
- Choose your starting position:
- Beginning: Start from the earliest message
- End: Start from the latest message
- Timestamp: Start from a specific time
- Offset: Start from a specific offset (per partition)
- Click Start
Message Display
Each message shows:
- Partition: Which partition the message is in
- Offset: The message’s position in the partition
- Timestamp: When the message was produced
- Key: Message key (if present)
- Value: Message content
- Headers: Key-value metadata
Format Detection
Topiq automatically detects and formats:
JSON
{
"orderId": "12345",
"status": "completed",
"items": [...]
}
Avro
If Schema Registry is configured, Avro messages are automatically deserialized.
Plain Text
Displayed as-is with optional encoding detection.
Filtering Messages
By Key
Filter messages by their key:
order-12345 # Exact match
order-* # Wildcard
By Value
Search within message content:
"status":"completed" # JSON field
error # Contains text
By Header
Filter by header key or value:
correlation-id=abc # Header match
Exporting Messages
Export messages for analysis or sharing:
- Click Export in the toolbar
- Choose format:
- JSON: Full message data
- CSV: Tabular format
- Select messages (all or filtered)
- Click Export
Message Details
Click on any message to open the detail view:
- Full message content with formatting
- Copy key, value, or headers
- Navigate to previous/next message
- View raw bytes
Producing Messages
Send test messages directly from Topiq:
- Right-click on a topic → Produce Message
- Or click Produce in the Messages tab
Message Fields
- Key: Optional message key
- Value: Message content
- Headers: Optional key-value pairs
- Partition: Specific partition or auto-assign
Templates
Save frequently used message templates:
- Fill in your message
- Click Save as Template
- Access from Templates dropdown
Performance Tips
Large Topics
- Use offset-based starting point
- Apply filters before starting
- Limit message count
High-Volume Topics
- Pause consumption when reviewing
- Use key filters to reduce volume
- Consider using consumer groups