Kafka Streams topology visualization

Kafka Streams 绑定器提供了以下执行器端点,用于检索拓扑描述,你可以使用这些拓扑描述来使用外部工具可视化拓扑。

Kafka Streams binder provides the following actuator endpoints for retrieving the topology description using which you can visualize the topology using external tools.

/actuator/kafkastreamstopology

/actuator/kafkastreamstopology/<application-id of the processor>

/actuator/kafkastreamstopology/<application-id of the processor>

你需要包含 Spring Boot 提供的执行器和 web 依赖项以访问这些端点。此外,你还需要将 kafkastreamstopology 添加到 management.endpoints.web.exposure.include 属性中。默认情况下,kafkastreamstopology 端点处于禁用状态。

You need to include the actuator and web dependencies from Spring Boot to access these endpoints. Further, you also need to add kafkastreamstopology to management.endpoints.web.exposure.include property. By default, the kafkastreamstopology endpoint is disabled.