Skip to content

Import botocore lazily for AWS_MSK_IAM - #37

Closed
dogukancagatay wants to merge 1 commit into
aiven-2.3.1from
dogukancagatay/lazy-import-botocore
Closed

dogukancagatay wants to merge 1 commit into
aiven-2.3.1from
dogukancagatay/lazy-import-botocore

Conversation

@dogukancagatay

@dogukancagatay dogukancagatay commented Oct 22, 2026 •

Copy link
Copy Markdown

Importing kafka loaded botocore in every process, even when
AWS_MSK_IAM is never used. That adds about 16 MiB of memory.

Load botocore only when an AWS_MSK_IAM mechanism is created.

Related upstream change: dpkp#3171

Importing kafka loaded botocore in every process, even when
AWS_MSK_IAM is never used. That adds about 16 MiB of memory.

Load botocore only when an AWS_MSK_IAM mechanism is created.
@dogukancagatay
dogukancagatay marked this pull request as ready for review October 22, 2026 20:45
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.

1 participant