I’m stuck on Stage #NV3.
I’ve tried putting print statements and tried copying the code from the forum as well but nothing works.
I am new to Kafka and I have heard about this for the first time. I am unable to understand the error. Please help me out!
Here are my logs:
Enumerating objects: 7, done.
Counting objects: 100% (7/7), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 469 bytes | 234.00 KiB/s, done.
Total 4 (delta 2), reused 0 (delta 0), pack-reused 0 (from 0)
remote: ------------------------------------------------------------------------
remote:
remote:
remote: ___ _ ___ __ _
remote: / __\ ___ __| | ___ / __\_ __ __ _ / _|| |_ ___ _ __ ___
remote: / / / _ \ / _` | / _ \ / / | '__|/ _` || |_ | __|/ _ \| '__|/ __|
remote: / /___| (_) || (_| || __// /___| | | (_| || _|| |_| __/| | \__
remote: \____/ \___/ \__,_| \___|\____/|_| \__,_||_| \__|\___||_| |___/
remote:
remote:
remote: Welcome to CodeCrafters! Your commit was received successfully.
remote:
remote: ------------------------------------------------------------------------
remote:
remote: ΓÜí This is a turbo test run. https://codecrafters.io/turbo
remote:
remote: Running tests on your code. Logs should appear shortly...
remote:
remote: [compile] Moved ./.codecrafters/run.sh → ./your_program.sh
remote: [compile] Compilation successful.
remote:
remote: Debug = true
remote:
remote: [tester::#NV3] Running tests for Stage #NV3 (Send Correlation ID)
remote: [tester::#NV3] $ ./your_program.sh
remote: [tester::#NV3] Connecting to broker at: localhost:9092
remote: [tester::#NV3] Connection to broker at localhost:9092 successful
remote: [tester::#NV3] Sending "ApiVersions" (version: 4) request (Correlation id: 7)
remote: [tester::#NV3] Hexdump of sent "ApiVersions" request:
remote: [tester::#NV3] Idx | Hex | ASCII
remote: [tester::#NV3] -----+-------------------------------------------------+-----------------
remote: [tester::#NV3] 0000 | 00 00 00 23 00 12 00 04 00 00 00 07 00 09 6b 61 | ...#..........ka
remote: [tester::#NV3] 0010 | 66 6b 61 2d 63 6c 69 00 0a 6b 61 66 6b 61 2d 63 | fka-cli..kafka-c
remote: [tester::#NV3] 0020 | 6c 69 04 30 2e 31 00 | li.0.1.
remote: [tester::#NV3]
remote: [tester::#NV3] error reading from connection: read tcp 127.0.0.1:42180->127.0.0.1:9092: read: connection reset by peer
remote: [tester::#NV3] Test failed
remote: [tester::#NV3] Terminating program
remote: [tester::#NV3] Program terminated successfully
remote:
remote: Try our CLI to run tests faster without Git: https://codecrafters.io/cli
remote:
remote: View our article on debugging test failures: https://codecrafters.io/debug
remote:
To https://git.codecrafters.io/c1a92445c0b5aec8
cc5ff55..0094c86 master -> master
And here’s a snippet of my code:
include relevant code here (please make sure to keep the backticks around this!)