| 23 | Config is used to configure the service. |
| 24 | */ |
| 25 | export interface Config { |
| 26 | // Additional environment variables required by the service to properly run. |
| 27 | envvars?: string[] |
| 28 | |
| 29 | // Enable and configure the Kafka producer, if needed. |
| 30 | producer: { |
| 31 | enabled: boolean |
| 32 | idempotent?: boolean |
| 33 | retryPolicy?: { |
| 34 | initialRetryTime: number |
| 35 | maxRetryTime: number |
| 36 | retries: number |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | // Enable and configure the Temporal client, if needed. |
| 41 | temporal: { |
| 42 | enabled: boolean |
| 43 | } |
| 44 | |
| 45 | // Enable and configure the Redis client, if needed. |
| 46 | redis: { |
| 47 | enabled: boolean |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | /* |
| 52 | Service holds all details and methods to run any kind of services at crowd.dev. |
nothing calls this directly
no outgoing calls
no test coverage detected