Browse Source
## Discovery
KafkaStore.java line 136:
When idempotence is enabled:
- Producer sends InitProducerId on creation
- This is NORMAL Kafka behavior
## Timeline
1. KafkaStore.init() creates producer with idempotence=true (line 138)
2. Producer sends InitProducerId request ✅ (We handle this correctly)
3. Producer.initProducerId request completes successfully
4. Then KafkaStoreReaderThread created (line 142-145)
5. Reader thread constructor calls seekToBeginning() (line 183)
6. seekToBeginning() should send ListOffsets request
7. BUT nothing happens! Consumer blocks indefinitely
## Root Cause Analysis
The PRODUCER successfully sends/receives InitProducerId.
The CONSUMER fails at seekToBeginning() - never sends ListOffsets.
The consumer is stuck somewhere in the Java Kafka client seek logic,
possibly waiting for something related to the producer/idempotence setup.
OR: The ListOffsets request IS being sent by the consumer, but we're not seeing it
because it's being handled differently (data plane vs control plane routing).
## Next: Check if ListOffsets is being routed to data plane and never processed
pull/7329/head
1 changed files with 14 additions and 0 deletions
Loading…
Reference in new issue