Browse Source
Added logging for consumer group coordination API keys (9,11,12,14) to identify where consumer gets stuck during initialization. KEY FINDING: Consumer is NOT stuck in group coordination! Instead, consumer is stuck in seek/metadata discovery phase. Evidence from test logs: - Metadata (apiKey=3): 2,137 requests ✅ - ApiVersions (apiKey=18): 22 requests ✅ - ListOffsets (apiKey=2): 6 requests ✅ (but not completing!) - JoinGroup (apiKey=11): 0 requests ❌ - SyncGroup (apiKey=14): 0 requests ❌ - Fetch (apiKey=1): 0 requests ❌ Consumer is stuck trying to execute seekToBeginning(): 1. Consumer.assign() succeeds 2. Consumer.seekToBeginning() called 3. Consumer sends ListOffsets request (succeeds) 4. Stuck waiting for metadata or broker connection 5. Consumer.poll() never called 6. Initialization never completes Root cause likely in: - ListOffsets (apiKey=2) response format or content - Metadata response broker assignment - Partition leader discovery This is separate from the context timeout bug (Bug #1). Both must be fixed for Schema Registry to work.pull/7329/head
2 changed files with 13 additions and 0 deletions
Loading…
Reference in new issue