Skip to content

Commit

Permalink
fix some yaml mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
vordimous committed Oct 31, 2023
1 parent 3e11e95 commit 3adb247
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
10 changes: 5 additions & 5 deletions src/how-tos/mqtt/mqtt.kafka.broker.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Create a new file called `zilla.yaml` and append the below yaml to it.

This will configure Zilla for accepting all of the `mqtt` traffic.

```yaml{14-16}
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{-20} -->
```yaml{12-15}
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{-15} -->
```

::: right
Expand All @@ -133,7 +133,7 @@ This will configure Zilla for accepting all of the `mqtt` traffic.
The service definitions will define how the clients using this service will interact with Kafka through Zilla.

```yaml{7-9}
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{22-31} -->
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{17-27} -->
```

::: right
Expand All @@ -146,7 +146,7 @@ The service definitions will define how the clients using this service will inte
The Zilla [cache_client and cache_server](../../reference/config/bindings/binding-kafka.md#kind) helps manage the smooth data transfer between the service definition and Kafka.

```yaml{11-12}
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{33-46} -->
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{28-40} -->
```

::: right
Expand All @@ -158,7 +158,7 @@ The Zilla [cache_client and cache_server](../../reference/config/bindings/bindin
This will define the location and connection for Zilla to communicate with Kafka.

```yaml{10-11}
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{47-} -->
<!-- @include: ./mqtt_kafka_broker_zilla.yaml{42-} -->
```

::: details Full zilla.yaml
Expand Down
1 change: 0 additions & 1 deletion src/how-tos/mqtt/mqtt_kafka_broker_zilla.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: zilla-mqtt-kafka-broker
bindings:

Expand Down
1 change: 0 additions & 1 deletion src/tutorials/metrics/metrics_zilla.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Metrics-example
telemetry:

Expand Down
2 changes: 1 addition & 1 deletion src/tutorials/metrics/prometheus-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Running this Zilla sample will collect basic metrics for an http service.

@tab zilla.yaml

```yaml {7-10,20,30-32,43-45}
```yaml {6-9,19,29-31,42-44}
<!-- @include: ./metrics_zilla.yaml -->
```
Expand Down
4 changes: 2 additions & 2 deletions src/tutorials/mqtt/mqtt-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ Create these files, `zilla.yaml` and `docker-compose.yaml`, in the same director

@tab zilla.yaml

```yaml {11,26-28,41-42}
```yaml {10,25-27,40-41}
<!-- @include: ./zilla.yaml -->
```
@tab docker-compose.yaml
```yaml {10,41-43}
```yaml {10,44-46}
<!-- @include: ./docker-compose.yaml -->
```
Expand Down

0 comments on commit 3adb247

Please sign in to comment.