Skip to content

Commit

Permalink
delete config_apollo_health_mq.json (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeflood authored Mar 18, 2022
1 parent f308686 commit 5234a80
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 110 deletions.
104 changes: 0 additions & 104 deletions configs/config_apollo_health_mq.json

This file was deleted.

2 changes: 1 addition & 1 deletion docs/en/component_specs/pubsub/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The json configuration file has the following structure:
}
}
```
You can configure the key/value configuration items that the component cares about in the metadata. For example, [redis component configuration](https://github.com/mosn/layotto/blob/main/configs/config_apollo_health_mq.json) is as follows:
You can configure the key/value configuration items that the component cares about in the metadata. For example, [redis component configuration](https://github.com/mosn/layotto/blob/main/configs/config_redis.json) is as follows:

```json
"pub_subs": {
Expand Down
2 changes: 1 addition & 1 deletion docs/en/component_specs/pubsub/redis.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Redis

## metadata fields
Example: configs/config_apollo_health_mq.json
Example: configs/config_redis.json

| Field | Required | Description |
| --- | --- | --- |
Expand Down
2 changes: 1 addition & 1 deletion docs/en/start/pubsub/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ go build
After completion, the layotto file will be generated in the directory, run it:

```bash
./layotto start -c ../../configs/config_apollo_health_mq.json
./layotto start -c ../../configs/config_redis.json
```

### Step 4. Run the Publisher program and call Layotto to publish events
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/component_specs/pubsub/common.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ json配置文件有如下结构:
}
```

您可以在metadata里配置组件关心的key/value配置。例如[redis组件的配置](https://github.com/mosn/layotto/blob/main/configs/config_apollo_health_mq.json) 如下:
您可以在metadata里配置组件关心的key/value配置。例如[redis组件的配置](https://github.com/mosn/layotto/blob/main/configs/config_redis.json) 如下:

```json
"pub_subs": {
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/component_specs/pubsub/redis.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Redis

## 配置项说明
示例:configs/config_apollo_health_mq.json
示例:configs/config_redis.json

| 字段 | 必填 | 说明 |
| --- | --- | --- |
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/start/pubsub/start.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ go build
完成后目录下会生成layotto文件,运行它:

```bash
./layotto start -c ../../configs/config_apollo_health_mq.json
./layotto start -c ../../configs/config_redis.json
```

### 第四步:运行Publisher程序,调用Layotto发布事件
Expand Down

0 comments on commit 5234a80

Please sign in to comment.