> For the complete documentation index, see [llms.txt](https://cxz.gitbook.io/spring-cloud-date-flow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cxz.gitbook.io/spring-cloud-date-flow/streams/stream-dsl.md).

# Stream DSL

## 8. Stream DSL

本节介绍 Stream DSL 简介中未介绍的  [Stream DSL introduction](https://docs.spring.io/spring-cloud-dataflow/docs/2.1.0.RELEASE/reference/htmlsingle/#spring-cloud-dataflow-stream-intro-dsl) 的其他功能。

### 8.1. Tap a Stream

可以在 Stream 中的不同生产者处创建 Tap（用户点击事件收集）。有关更多信息，请参见 [Tapping a Stream](https://dataflow.spring.io/docs/feature-guides/streams/taps/)。

### 8.2. Using Labels in a Stream

当一个 Stream 由多个同名的 Applications 组成时，必须使用标签对它们进行限定。有关详细信息，请参阅   [Labeling Applications](https://dataflow.spring.io/docs/feature-guides/streams/labels/) 。

### 8.3. Named Destinations

您可以使用指定的 Destinations ，而不是引用source 或 sink Application,。有关详细信息，请参阅 [Named Destinations](https://dataflow.spring.io/docs/feature-guides/streams/named-destinations/) 。

### 8.4. Fan-in and Fan-out

通过使用命名目标，您可以支持Fan-in and Fan-out 用例。有关详细信息，请参阅 [Fan-in and Fan-out](https://dataflow.spring.io/docs/feature-guides/streams/fanin-fanout/) 。
