Skip to content

Commit

Permalink
feat: add fetch with one topic
Browse files Browse the repository at this point in the history
  • Loading branch information
cintra1 committed Sep 27, 2024
1 parent 357f95c commit 072f2b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ def make_fetch_response(api_key, api_version, correlation_id):
tag_buffer = b"\x00"

response_body = (
error_code.to_bytes(2, byteorder='big') +
throttle_time_ms.to_bytes(4, byteorder='big') +
error_code.to_bytes(2, byteorder='big') +
session_id.to_bytes(2, byteorder='big') +
fetch.to_bytes(2, byteorder='big') +
fetch.to_bytes(4, byteorder='big') +
int(100).to_bytes(2, byteorder='big') +
tag_buffer
)
Expand Down

0 comments on commit 072f2b9

Please sign in to comment.