Octops / agones-event-broadcaster

Broadcast Agones GameServers and Fleets states to the external world
https://octops.io
Apache License 2.0
25 stars 6 forks source link

Adding Kafka as a broker #17

Closed kaboing closed 3 years ago

kaboing commented 3 years ago

Any comments are more than welcome!

While testing this, I found that there are update events where the oldobjand newobjare equal, so the data sent contains "duplicates". Do you know why?

danieloliveira079 commented 3 years ago

Tks for the PR @kaboing.

While testing this, I found that there are update events where the oldobj and newobj are equal, so the data sent contains "duplicates". Do you know why?

It may be due to the Reconcile event that happens overtime even if an object is not updated. This is part of the controller runtime. The best way to test if the are really the same is by checking the "ResourceVersion" fields.