chrislu
|
49a994be6c
|
fix: implement correct Produce v7 response format
✅ MAJOR PROGRESS: Produce v7 Response Format
- Fixed partition parsing: correctly reads partition_id and record_set_size
- Implemented proper response structure:
* correlation_id(4) + throttle_time_ms(4) + topics(ARRAY)
* Each partition: partition_id(4) + error_code(2) + base_offset(8) + log_append_time(8) + log_start_offset(8)
- Manual parsing test confirms 100% correct format (68/68 bytes consumed)
- Fixed log_append_time to use actual timestamp (not -1)
🔍 STATUS: Response format is protocol-compliant
- Our manual parser: ✅ Works perfectly
- Sarama client: ❌ Still getting 'invalid length' error
- Next: Investigate Sarama-specific parsing requirements
|
2025-09-11 00:29:21 -07:00 |
|