用法

要使用 Kafka Streams 繫結器,您只需使用以下 Maven 座標將其新增到您的 Spring Cloud Stream 應用程式中

<dependency>
  <groupId>org.springframework.cloud</groupId>
  <artifactId>spring-cloud-stream-binder-kafka-streams</artifactId>
</dependency>

為 Kafka Streams 繫結器啟動新專案的快速方法是使用 Spring Initializr,然後選擇“Cloud Streams”和“Spring for Kafka Streams”,如下所示

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