kafka-ui
                                
                                 kafka-ui copied to clipboard
                                
                                    kafka-ui copied to clipboard
                            
                            
                            
                        Show truncated message or hide message body when message size is large
Is your proposal related to a problem?
Most of the time I only want to see headers of each message. However each message in the queue can be as large as 512KB. Expanding such message in Kafka UI causes web to hang.
Describe the solution you'd like
Assuming it's the web UI parsing the large message causing the hang, I propose:
- Truncate the message body when it is large, or just output raw body without JSON formatting.
- Separate header display and body display. Show header with message body collapsed.
Describe alternatives you've considered
https://github.com/birdayz/kaf - a great CLI tool - but I guess I still prefer Kafka-UI to address the issue.
Additional context
Hey, thanks for the suggestion. We'll think of something to solve this.
related https://github.com/provectus/kafka-ui/issues/2297#issue-1309183097