kafka 是否有任何默认的 Web UI [英] Does kafka have any default web UI

查看:54
本文介绍了kafka 是否有任何默认的 Web UI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个关于 Kafka 的问题.

I have a couple questions in Kafka.

1) Kafka 是否有默认的 Web UI?

1) Does Kafka have a default web UI?

2) 我们如何优雅地关闭独立的 kafka 服务器,kafka 控制台-消费者/控制台生产者.

2) How can we gracefully shutdown a standalone kafka server, kafka console- consumer/console-producer.

任何解决方案将不胜感激.

Any solutions will be highly appreciated.

谢谢.

推荐答案

1) 没有 Kafka 没有默认 UI.

1) No Kafka does not have a default UI.

然而,有许多第三方工具可以以图形方式显示 Kafka 资源.只需在 Google 上搜索 kafka ui 并选择显示您想要和最喜欢的工具.

There are however a number of third party tools that can graphically display Kafka resources. Just Google for kafka ui and pick the tool that displays what you want and you like the most.

2) 要正常关闭 Kafka 代理,只需向 Kafka 进程发送一个 SIGTERM ,它就会正常关闭.这可以通过 ./bin/kafka-server-stop.sh 工具完成.

2) To gracefully shutdown a Kafka broker, just send a SIGTERM to the Kafka process and it will properly shutdown. This can be done via the ./bin/kafka-server-stop.sh tool.

如果它是集群的一部分,将在其他代理上选举新的领导者,否则它将简单地关闭其所有资源.请注意,根据分区数量,这可能需要几分钟时间.

If it's part of a cluster, new leaders will be elected on other brokers, otherwise it will simply cleanly close all its resources. Note that depending on the number of partitions, this can take a few minutes.

这篇关于kafka 是否有任何默认的 Web UI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆