Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Improve instructions for modifying config files (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
MonicaisHer authored Aug 17, 2022
1 parent 2d7ac7d commit b713561
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,29 +131,9 @@ Instead of subscribing to events filtered by App Service Configurable, eKuiper c
Event filtering can also be done using eKuiper rules.

To do so, modify eKuiper's config file (`/var/snap/edgex-ekuiper/current/etc/sources/edgex.yaml`):
1. Change `topic` from App Service Configurable's topic to subscribe to all edgex events:

from:
```
topic: rules-events
```
to:
```
topic: edgex/events/#
```

2. Change `messageType` from event (default) to request:
from:
```
messageType: event
```
to:
```
messageType: request
```

3. Restart the service to pick up the changes made to the config file.

1. Change value of `default.topic` from App Service Configurable's topic `rules-events` to `edgex/events/#` in order to subscribe to all edgex events
2. Change value of `default.messageType` from `event` to `request`
3. Restart the service to pick up the changes made to the config file
4. If App Service Configurable is installed with `rules-engine` profile for eKuiper, stop (or remove) it:
```bash
sudo snap stop edgex-app-service-configurable
Expand Down

0 comments on commit b713561

Please sign in to comment.