Skip to content

URL templates

In certain situations, you may need to view a Kafka record in a web browser. Yōzefu allows you to do so: select the Kafka record and press the o key (for open). This will open the corresponding URL in a new browser tab.

The tool uses a URL template from the configuration file. this template is defined in the .clusters.<name-of-your-cluster>.url_template property, where <name-of-your-cluster> is the specific cluster name you're using.

This list gives the different URL templates depending on the web application you use:

NomURL template
Confluenthttps://confluent.cloud/environments/acme-environment/clusters/acme-cluster/topics/{topic}/message-viewer
Control centerhttps://control-center.acme/clusters/acme-cluster/management/topics/{topic}/message-viewer
Redpanda Cloudhttps://cloud.redpanda.com/clusters/acme-cluster/topics/{topic}?p={partition}&s=1&o={offset}#messages
Redpanda Consolehttps://redpanda-console.acme/topics/{topic}?p={partition}&s=1&o={offset}#messages
AKHQhttps://akhq.acme/cluster/{topic}/data?single=true&partition={partition}&offset={offset}{offset}
Kafka UIhttps://kafka-ui.acme/ui/clusters/kafk/all-topics/{topic}/messages?limit=1&seekType=OFFSET&seekTo=0%3A%3A{offset}
Kafdrophttps://kadrop.acme/topic/{topic}/messages?partition={partition}&offset={offset}&count=1
Kpowhttps://kpow.acme/#/tenant/__kpow_global/cluster/acme-cluster/data/inspect?offset={offset}&topic={topic}&partition={partition}
Kouncilhttps://kouncil.acme/topics/messages/{topic}
Kafbat UIhttps://kafbat-ui.acme/ui/clusters/acme-cluster/all-topics/{topic}/messages?limit=1&mode=FROM_OFFSET&offset={offset}&partitions={partition}
Aivenhttps://console.aiven.io/account/{todo-account-id}/project/{todo-project-id}/services/{todo-service-id}/topics/{topic}/messages?format=json&offset={offset}&partition={partition}

At this time, 3 variables can be used in the URL template: {topic}, {partition} and {offset}.

MAIF logo
OSS by MAIF, released under Apache License, Version 2.0