Support a leaderboard service to track both the stickers assigned and printed for a user.
Currently the sticker-award service publishes a stickers.stickerassignedtouser.v1 event whenever a user gets assigned a sticker. You can find an async API spec for the award service here
Eventually, the print-service will publish a similar event when a print job is completed.
The leaderboard service should hook into both of these events and use that to populate a leaderboard. Which can then be retrievable via API call.
Support a leaderboard service to track both the stickers assigned and printed for a user.
Currently the sticker-award service publishes a
stickers.stickerassignedtouser.v1event whenever a user gets assigned a sticker. You can find an async API spec for the award service hereEventually, the print-service will publish a similar event when a print job is completed.
The leaderboard service should hook into both of these events and use that to populate a leaderboard. Which can then be retrievable via API call.