make graph service events optional

This commit is contained in:
Willy Kloucek
2022-07-15 07:51:30 +02:00
parent 7c8a85f54c
commit 7cbd1ad357
4 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -69,6 +69,6 @@ type Identity struct {
// Events combines the configuration options for the event bus.
type Events struct {
Endpoint string `yaml:"endpoint" env:"GRAPH_EVENTS_ENDPOINT" desc:"The address of the streaming service."`
Endpoint string `yaml:"endpoint" env:"GRAPH_EVENTS_ENDPOINT" desc:"The address of the streaming service. Set to a empty string to disable emitting events."`
Cluster string `yaml:"cluster" env:"GRAPH_EVENTS_CLUSTER" desc:"The clusterID of the streaming service. Mandatory when using the NATS service."`
}