AggregatedUsageEvent
v0.0.1

Event represents when a aggregated usage event has been fired.

An aggregated usage event is an event which fires from the billing system when a user exceeds a usage threshold. They currently fire on the following milestones:

  • 50%
  • 70%
  • 90%
  • 100%
  • 150%
  • 200%

Consumer / Producer Diagram

AggregatedUsageEvent Schema (avsc)
{
  "type": "record",
  "name": "billing.AggregatedUsageEvent",
  "fields": [
    {
      "name": "ownerID",
      "type": "string"
    },
    {
      "name": "triggeringEventIdempotencyKey",
      "type": "string"
    },
    {
      "name": "kind",
      "type": "string"
    },
    {
      "name": "timestamp",
      "type": {
        "type": "long",
        "logicalType": "timestamp-millis"
      }
    },
    {
      "name": "orgID",
      "type": "string"
    },
    {
      "name": "triggeringEventKind",
      "type": "string"
    }
  ]
}
Edit this pageLast updated on 2025/1/8