# About pv1: Handle APIVersions requests

**URL:** <https://forum.codecrafters.io/t/about-pv1-handle-apiversions-requests/13337>\
**Category:** Challenges\
**Tags:** challenge:kafka\
**Created:** [July 11, 2025, 4:19am UTC](https://forum.codecrafters.io/t/about-pv1-handle-apiversions-requests/13337 "2025-07-11T04:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![logan1o1](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/logan1o1/32/10383_2.png) [@logan1o1](https://forum.codecrafters.io/u/logan1o1)\
**Post date:** [July 11, 2025, 4:19am UTC](https://forum.codecrafters.io/t/about-pv1-handle-apiversions-requests/13337/1 "2025-07-11T04:19:16Z")

</div>

This is really confusing, is this one perhaps not for a beginner-intermediate level.

my repo: [GitHub - logan1o1/codecrafters-kafka-go](https://github.com/logan1o1/codecrafters-kafka-go)

I don’t understand how you get these, like how would we know which parts contain what

```auto
message_size := buff[0:4]
corelation_id := buff[8:12] 

```

Can anyone please explain, I want to learn but its too complicated,  
and can anyone direct me towards any learning resources that would be on the beginner level.

---

<div class="post-metadata">

**Author:** ![andy1li](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/andy1li/32/10_2.png) [@andy1li](https://forum.codecrafters.io/u/andy1li)\
**Post date:** [July 13, 2025, 5:17am UTC](https://forum.codecrafters.io/t/about-pv1-handle-apiversions-requests/13337/4 "2025-07-13T05:17:44Z")

</div>

Hey @logan1o1, we’re still working on instructions for stage #pv1, so it’s expected that things might be a bit unclear for now.

> I don’t understand how you get these, like how would we know which parts contain what

Totally hear you. Ideally, these details would be clearly documented in the Kafka protocol specs, but unfortunately the docs aren’t very beginner-friendly.

> Can anyone please explain, I want to learn but its too complicated

To help with this, we created [binspec](https://binspec.org/kafka-api-versions-Response-v4), which breaks down Kafka messages in a byte-by-byte way.

> and can anyone direct me towards any learning resources that would be on the beginner level.

I’d recommend trying the [Redis challenge](https://app.codecrafters.io/courses/redis/overview) first.

It introduces networking concepts and protocols in a more gradual way, which can help build the foundation for Kafka.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/3X/7/0/700657133935c15703e22c7c8870394f6e6dc27d.svg) [@system](https://forum.codecrafters.io/u/system)\
**Post date:** [July 18, 2025, 4:03pm UTC](https://forum.codecrafters.io/t/about-pv1-handle-apiversions-requests/13337/6 "2025-07-18T16:03:52Z")

</div>

Closed on July 18, 2025, 4:03pm UTC

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
