Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Adding schemas for the remaining KPI events
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Abraham committed Mar 31, 2022
1 parent d95baf9 commit bdd36c4
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "nakadi.data.streamed",
"type": "record",
"doc": "Stores KPI events of type nakadi.data.streamed",
"fields": [
{
"name": "api",
"description": "This field indicates if data was streamed through low level api or high level api",
"type": "string"
},
{
"name": "subscription",
"description": "this is optional and is only present when streaming from a subscription",
"type": [
"null",
"string"
],
"default": null
},
{
"name": "event_type",
"type": "string"
},
{
"name": "app",
"type": "string"
},
{
"name": "app_hashed",
"type": "string"
},
{
"name": "token_realm",
"type": "string"
},
{
"name": "number_of_events",
"type": "long"
},
{
"name": "bytes_streamed",
"description": "amount of bytes streamed since last event",
"type": "long"
},
{
"name": "batches_streamed",
"description": "amount of batches streamed since last event",
"type": "int"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "nakadi.event.type.log",
"type": "record",
"doc": "Stores KPI events of type nakadi.event.type.log",
"fields": [
{
"name": "event_type",
"type": "string"
},
{
"name": "status",
"type": "string"
},
{
"name": "category",
"type": "string"
},
{
"name": "authz",
"type": "string"
},
{
"name": "compatibility_mode",
"type": "string"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "nakadi.subscription.log",
"type": "record",
"doc": "Stores KPI events of type nakadi.subscription.log",
"fields": [
{
"name": "subscription_id",
"type": "string"
},
{
"name": "status",
"type": "string"
}
]
}

0 comments on commit bdd36c4

Please sign in to comment.