diff --git a/docs/cache-event-task.md b/docs/cache-event-task.md index ebb4760a2e272817cd1d45697bcdb0d243a8e4c2..7c6ad78e89050c612fae47ffd7c8a23522674a77 100644 --- a/docs/cache-event-task.md +++ b/docs/cache-event-task.md @@ -1,5 +1,15 @@ # Task Service - Cache Event Task Documentation +### Subscribe for Cache events + +Current implementation uses NATS as a messaging system for events. +There are two environment variables that need to be set for subscribing for cache events. + +```shell +NATS_ADDR="example.com:4222" +NATS_SUBJECT="subject" +``` + ### Event Task definition In order to create a Task upon receiving a Cache event an `event task template` **must**