Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context deadline exceeded on Metadata requests in MSK #112

Open
ghost opened this issue Dec 8, 2022 · 1 comment
Open

Context deadline exceeded on Metadata requests in MSK #112

ghost opened this issue Dec 8, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 8, 2022

I wanted to follow up on the issue described in #62

We're facing the same issue, and I've traced the problem to here.

I'm not sure if it's intentional (setting TTL as a request timeout), but this is breaking the app when the cluster is slow enough (small MSK Kafka instance + VPN):

[2022-12-08 18:52:58]  INFO Checking cluster ID against version in cluster
[2022-12-08 18:52:58] DEBUG Metadata request: {Addr:<nil> Topics:[]}
[2022-12-08 18:52:58] DEBUG Metadata response: <nil> (kafka.(*Client).Metadata: context deadline exceeded)
[2022-12-08 18:52:58] ERROR kafka.(*Client).Metadata: context deadline exceeded

This TTL is not configurable, so my only workaround is to fork & set a higher TTL here, but it'd help a lot if you guys could sort this out upstream.

Thanks!

ghost pushed a commit to efcloud/topicctl that referenced this issue Dec 9, 2022
This is a (hopefully) temporary measure while the issue is being looked at upstream:

segmentio#112
@cameronfleet-paxos
Copy link

Thanks alot for this fix, have also been tackling with this exact same issue in recent days - the hotfix solves it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant