eclipse / kapua

Eclipse Public License 2.0
222 stars 160 forks source link

:bug: random uuid in event client id resulted in multiple instances o… #4013

Closed dseurotech closed 5 months ago

dseurotech commented 5 months ago

…f the same component processing the same messages, resulting in a lot of data update conflicts

Brief description of the PR. In a previous PR a random component in event bus clients id was introduced in order to allow multiple components (e.g.: lifecycle, telemetry, etc) to consume the same event. Multiple instances of the same component, however, should not process the same event multiple times, as this would result in potential update conflicts on affected entities. As the event module name (unique for each component) was already previously introduces, this PR removes the unnecessary random component which was added at configuration time.