Open paveq opened 3 years ago
This is an interesting suggestion, allowing one of eventSourceName
and eventName
optional. Thoughts? @VaibhavPage
Could add, that currently it is possible to create a sensor without eventSourceName, but it won't receive any events. This can be bit confusing.
Could add, that currently it is possible to create a sensor without eventSourceName, but it won't receive any events. This can be bit confusing.
Now it expects both present, somehow there's not a validation in place.
+1
+1
@whynowy how is the topic name constructed for eventbus?
+1
Currently sensors are required to specify eventSourceName, in addition to events they are interested.
Expected behavior It is enough to specify only event name.
As example: there is event named "alert", and alerts can come from various systems, and sensor processes these (eg. workflow that sends email). Each time new alert generating system is added, sensor needs to be modified.