Files
seaweedfs/weed/mq/kafka/protocol
chrislu a4da25db6d mq(kafka): CRITICAL Discovery - Issue not v7-specific, persists in Metadata v1
MAJOR BREAKTHROUGH:
❌ Same 'Unknown Topic Or Partition' error occurs with Metadata v1
✅ This proves issue is NOT related to v7-specific fields
✅ kafka-go correctly negotiates down from v7 → v1

EVIDENCE:
- Response size: 120 bytes (v7) → 95 bytes (v1) ✅
- Version negotiation: API 3 v1 requested ✅
- Same error pattern: kafka-go validates → rejects → retries ❌

HYPOTHESIS IDENTIFIED:
🎯 Port/Address Mismatch Issue:
- kafka-go connects to gateway on random port (:60364)
- Metadata response advertises broker at localhost:9092
- kafka-go may be trying to validate broker reachability

CURRENT STATUS:
The issue is fundamental to our Metadata response format, not version-specific.
kafka-go likely validates that advertised brokers are reachable before
proceeding to Produce operations.

NEXT: Fix broker address in Metadata to match actual gateway listening port.
2025-09-10 14:56:58 -07:00
..