Skip to content

Bugfix/admin timeouts #342

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

Merged
merged 7 commits into from
May 21, 2024
Merged

Bugfix/admin timeouts #342

merged 7 commits into from
May 21, 2024

Conversation

tim-quix
Copy link
Contributor

@tim-quix tim-quix commented Apr 29, 2024

Added timeout arguments across all REST API calls and provided a way to set them from the Application level.

There are 2 options, request_timeout and topic_create_timeout (which is more of a wait/validation step vs actual request timeout).

lowest level API defaults were kept where possible (ex if Confluent Kafka AdminClient list_topics has -1 timeout, our TopicAdmin uses that as default for it's list_topics), but for the most part those defaults are overridden by a parent class (ex. TopicAdmin will always receive timeout arguments from TopicManager, which is ultimately set by the Application class setting.

in terms of tests, made sure that if one API call called another that the corresponding timeout was passed down correctly. Most of the additions are just making sure timeout was actually included in the arguments.

@tim-quix tim-quix force-pushed the bugfix/admin-timeouts branch from afb295d to fdce20c Compare May 14, 2024 14:00
@tim-quix tim-quix requested a review from daniil-quix May 20, 2024 13:31
@tim-quix tim-quix force-pushed the bugfix/admin-timeouts branch from fdce20c to e56a95c Compare May 20, 2024 19:01
@tim-quix tim-quix force-pushed the bugfix/admin-timeouts branch from 44f302e to 7d3b603 Compare May 21, 2024 16:46
@daniil-quix daniil-quix merged commit beb712b into main May 21, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

2 participants