Skip to content

Commit 912e10d

Browse files
committed
Fix formatting issues in course-definition.yml for consistency and clarity.
1 parent c8db91f commit 912e10d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

course-definition.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ stages:
141141
$ ./your_program.sh
142142
```
143143
144-
It'll then try to connect to your server on port 9092 and send a `APIVersions-V3` request. The tester will validate that the correlation ID in the response header matches
144+
It'll then try to connect to your server on port 9092 and send a `APIVersions-V3` request. The tester will validate that the correlation ID in the response header matches
145145
the correlation ID in the request header.
146146
147147
Although your server's response will need to contain the "message length" field (an int32), the tester will not verify this value in this stage.
@@ -164,10 +164,10 @@ stages:
164164
```
165165
166166
It'll then connect to your server on port 9092 and send a `APIVersions:V3` request with an invalid `APIVersion` of -1.
167-
The tester will validate that the correlation ID in the response header matches
167+
The tester will validate that the correlation ID in the response header matches
168168
the correlation ID in the request header. The tester will also validate that the error code in the response body is 35.
169169
This is the error code for `UNSUPPORTED_VERSION`.
170-
We are intentionally triggering this error to test that your server is correctly populating the error code in the response body.
170+
We are intentionally triggering this error to test that your server is correctly populating the error code in the response body.
171171
172172
Although your server's response will need to contain the "message length" field (an int32), the tester will not verify this value in this stage.
173173
@@ -198,7 +198,7 @@ stages:
198198
And that the `MaxVersion` for the `ApiKey` `18` is atleast `3`.
199199
200200
### Notes
201-
- From this stage onwards, we expect you to send well formed responses. The total response length should be prefixed to your response, and we will only read that many bytes.
201+
- From this stage onwards, we expect you to send well formed responses. The total response length should be prefixed to your response, and we will only read that many bytes.
202202
- If extra bytes are remaining after decoding all the fields of the response body, it will be an error.
203203
- You can expect to receive V3 of the APIVersions request, and also send V3 of the APIVersions response.
204204
@@ -245,7 +245,7 @@ stages:
245245
$ ./your_program.sh
246246
```
247247
248-
It'll then connect to your server on port 9092 and send a `Fetch:V16` request. The tester will validate that the correlation ID in the response header matches
248+
It'll then connect to your server on port 9092 and send a `Fetch:V16` request. The tester will validate that the correlation ID in the response header matches
249249
the correlation ID in the request header. The tester will also validate that the error code in the response body is 0.
250250
Then, it will validate that the response body contains no topicResponses. (But as the response body contains COMPACT_ARRAY of topicResponses, the length should be prefixed as 1).
251251
The hexdump of a sample kafka response for this request is given below.
@@ -275,15 +275,15 @@ stages:
275275
$ ./your_program.sh
276276
```
277277
278-
It'll then connect to your server on port 9092 and send a `Fetch:V16` request. The tester will validate that the correlation ID in the response header matches
278+
It'll then connect to your server on port 9092 and send a `Fetch:V16` request. The tester will validate that the correlation ID in the response header matches
279279
the correlation ID in the request header. The tester will also validate that the error code in the response body is 0.
280280
Then, it will validate that the response body contains a topicResponse for the topic provided in the request.
281281
And that the topicResponse contains a partitionResponse for the partition provided in the request.
282282
283283
The partitionResponse should contain a messageSet with a RecordBatch.
284-
Which should in turn contain a Record which should contain a string with the hardcoded message.
284+
Which should in turn contain a Record which should contain a string with the hardcoded message.
285285
286-
You need to send 3 such messages in the response.
286+
You need to send 3 such messages in the response.
287287
The messages should be `m1, m2, m3`.
288288
289289
The RecordBatch has a CRC field, which is computed using the Castagnoli polynomial. This CRC field in the response should match with the CRC computed from the RecordBatch contents.

0 commit comments

Comments
 (0)