# Question about ea7: List for a single partition - Cursor

**URL:** <https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139>\
**Category:** Challenges\
**Tags:** challenge:kafka\
**Created:** [February 21, 2025, 3:58pm UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139 "2025-02-21T15:58:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohcine50](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/mohcine50/32/4735_2.png) [@Mohcine50](https://forum.codecrafters.io/u/Mohcine50)\
**Post date:** [February 21, 2025, 3:58pm UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139/1 "2025-02-21T15:58:05Z")

</div>

Hi,  
I am struggling to send the response. The cursor is indeed at -1 (null). I have a TugBuffer at the end, but I am still getting this error message.

 ![Screenshot From 2025-02-21 16-53-45](https://canada1.discourse-cdn.com/flex003/uploads/codecrafters/original/2X/5/5817732476b066cb8ac5fc0634afb86bdf44aa0d.png)

---

<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:** [February 23, 2025, 1:40pm UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139/3 "2025-02-23T13:40:35Z")

</div>

Hi @Mohcine50, could you [upload your code to GitHub](https://docs.codecrafters.io/features/publish-to-github) and share the link? It will be much easier to debug if I can run it directly.

---

<div class="post-metadata">

**Author:** ![Mohcine50](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/mohcine50/32/4735_2.png) [@Mohcine50](https://forum.codecrafters.io/u/Mohcine50)\
**Post date:** [February 23, 2025, 1:56pm UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139/5 "2025-02-23T13:56:34Z")

</div>

This is the [link](https://github.com/Mohcine50/Mohcine50-codecrafters-kafka-java)  
Thank you

---

<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:** [February 28, 2025, 9:16am UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139/7 "2025-02-28T09:16:27Z")

</div>

@Mohcine50 Looks like you’ve got past this stage. Do you happen to remember what was wrong? Would love to see if we can improve the tester / instructions.

---

<div class="post-metadata">

**Author:** ![Mohcine50](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/mohcine50/32/4735_2.png) [@Mohcine50](https://forum.codecrafters.io/u/Mohcine50)\
**Post date:** [February 28, 2025, 4:32pm UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139/9 "2025-02-28T16:32:22Z")

</div>

Something related to the replicas on the partitions, I think, I don’t remember what was exactly

---

<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:** [March 5, 2025, 4:32pm UTC](https://forum.codecrafters.io/t/question-about-ea7-list-for-a-single-partition-cursor/5139/10 "2025-03-05T16:32:37Z")

</div>

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