sarama icon indicating copy to clipboard operation
sarama copied to clipboard

Error while fetching metadata from broker

Open kbsivacse opened this issue 4 years ago • 2 comments

Versions

| Sarama | Kafka | Go | | 1.26.4 | 2.0.0 | 1.17 |

Configuration

brokers, topics

Logs

[Sarama] 2022/03/23 13:12:48 Initializing new client [Sarama] 2022/03/23 13:12:48 ClientID is the default of 'sarama', you should consider setting it to something application-specific. [Sarama] 2022/03/23 13:12:48 ClientID is the default of 'sarama', you should consider setting it to something application-specific. [Sarama] 2022/03/23 13:12:48 client/metadata fetching metadata for all topics from broker {broker-ip}:9092 [Sarama] 2022/03/23 13:12:48 Connected to broker at {broker-ip}:9092 (unregistered) [Sarama] 2022/03/23 13:13:18 client/metadata got error from broker -1 while fetching metadata: read tcp {pod-ip}:44182-> {broker-ip}:9092: i/o timeout [Sarama] 2022/03/23 13:13:18 Closed connection to broker {broker-ip}:9092 [Sarama] 2022/03/23 13:13:18 client/metadata no available broker to send metadata request to [Sarama] 2022/03/23 13:13:18 client/brokers resurrecting 1 dead seed brokers [Sarama] 2022/03/23 13:13:18 client/metadata retrying after 250ms... (3 attempts remaining) . . .

Problem Description

Sarama client is enable make a connection to the broker, but its getting i/0 timeout while getting metadata. Can someone help in fixing this?

kbsivacse avatar Mar 23 '22 13:03 kbsivacse

has retry params

simon28082 avatar Apr 02 '22 02:04 simon28082

@kbsivacse have you checked kafka broker logs?

dnwe avatar Apr 14 '22 00:04 dnwe

Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the main branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.

github-actions[bot] avatar Aug 18 '23 02:08 github-actions[bot]

Please reopen if still a problem here

dnwe avatar Aug 18 '23 06:08 dnwe