Kafka Streams 拓撲視覺化

Kafka Streams 繫結器提供以下執行器端點,用於檢索拓撲描述,您可以使用這些描述透過外部工具視覺化拓撲。

/actuator/kafkastreamstopology

/actuator/kafkastreamstopology/<處理器應用ID>

您需要包含 Spring Boot 的 actuator 和 web 依賴項才能訪問這些端點。此外,您還需要將 kafkastreamstopology 新增到 management.endpoints.web.exposure.include 屬性中。預設情況下,kafkastreamstopology 端點是停用的。

© . This site is unofficial and not affiliated with VMware.