Files
seaweedfs/weed
chrislu 3322d4fdd1 mq(kafka): Fix JoinGroup v2 parsing - Consumer group membership working
🎯 MASSIVE BREAKTHROUGH - JoinGroup API Fully Working

✅ JOINGROUP V2 PARSING FIXED:
- Fixed client_id parsing issue in JoinGroup request ✅
- Correctly skip 56-byte client_id header ✅
- Successfully parse GroupID: 'test-consumer-group' ✅
- Parse SessionTimeout: 30000ms ✅

✅ CONSUMER GROUP MEMBERSHIP SUCCESS:
- Step 1: FindCoordinator ✅ WORKING
- Step 2: JoinGroup ✅ WORKING (136-byte response)
- Step 3: SyncGroup → Next to implement
- Step 4: Fetch → Ready for messages

🔍 TECHNICAL BREAKTHROUGH:
- Member ID generation: '-unknown-host-1757547386572219000' ✅
- Proper JoinGroup v2 response format (136 bytes vs 24-byte error) ✅
- Consumer group coordinator working correctly ✅
- kafka-go Reader progressing through consumer group workflow ✅

📊 EVIDENCE OF SUCCESS:
- 'DEBUG: JoinGroup skipped client_id (56 bytes), offset now: 58'
- 'DEBUG: JoinGroup parsed GroupID: test-consumer-group, offset now: 79'
- 'DEBUG: JoinGroup response hex dump (136 bytes): 00000002000000000001...'
- 'DEBUG: API 11 (JoinGroup) response: 136 bytes, 37.916µs'

IMPACT:
This completes the consumer group membership workflow.
kafka-go Reader can now successfully join consumer groups and receive
member IDs from the coordinator. The foundation for partition assignment
and message consumption is now established.

Next: Implement SyncGroup API for partition assignment coordination.
2025-09-10 16:36:56 -07:00
..
2025-08-09 21:47:29 -07:00
2025-07-19 23:56:17 -07:00
2025-08-30 11:15:48 -07:00
2025-08-31 23:31:28 -07:00
2025-08-22 01:15:42 -07:00
2025-09-10 11:04:42 -07:00
2025-08-30 11:15:48 -07:00
2024-06-25 09:18:11 -07:00
2025-08-30 11:15:48 -07:00
2024-02-14 08:26:38 -08:00
2025-07-19 21:43:34 -07:00
2025-03-17 23:13:27 -07:00