Skip to content

Commit

Permalink
Add tagged fields and documentation reference to course definition YAML.
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Sep 10, 2024
1 parent e5a0558 commit 0a190de
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions course-definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ stages:
| `request_api_version` | INT16 | The version of the API for the request |
| `correlation_id` | INT32 | A unique identifier for the request |
| `client_id` | NULLABLE_STRING | The client ID for the request |
| `tagged_fields` | TAGGED_FIELDS | Optional tagged fields |
The documentation for this can be found [here](https://kafka.apache.org/protocol.html#protocol_messages) under the "Request Header v3" section.
- `request_api_key`: An integer identifying the type of request.
- The value of this field is different for each type of request.
Expand All @@ -174,6 +177,8 @@ stages:
- This value is echo-ed back in the response.
- (This is the value you hardcoded in the previous stage!)
- `client_id`: A string identifying the client that sent the request.
- `tagged_fields`: Optional tagged fields
- This can be ignored for now, they're [optional tagged fields](https://cwiki.apache.org/confluence/display/KAFKA/KIP-482%3A+The+Kafka+Protocol+should+Support+Optional+Tagged+Fields) used to introduce additional features over time.
In this stage, you'll only need to parse the `correlation_id` field. You can ignore the other fields for now.
Expand Down

0 comments on commit 0a190de

Please sign in to comment.