A prototype/sketch/WIP Kafka cluster explorer inside Neovim.
100% hacked-together. Enter at your own risk. 😁
You need kcat
installed. You also need to make sure you've configured
~/.config/kcat.conf
so that kcat -L
connects to the right cluster. (See this
blogpost for
help.)
{
'krisajenkins/telescope-kafka.nvim',
dependencies = {
'nvim-telescope/telescope.nvim',
},
config = function()
require('telescope').load_extension('telescope_kafka')
require('telescope_kafka').setup({
kcat_path = '<path to kcat>',
})
end,
-- Example keybindings. Adjust these to suit your preferences or remove
-- them entirely:
keys = {
{
'<Leader>kt',
':Telescope telescope_kafka kafka_topics<CR>',
desc = '[K]afka [T]opics',
},
},
}
<Leader>kt
will now show a [K]afka [T]opic browser.