Skip to content

Part size configuration to allow users to define the part size used in uploads - #635

Merged
Claudenw merged 6 commits into
mainfrom
aindriu-aiven/make-part-size-configureable
Nov 23, 2026
Merged

Claudenw merged 6 commits into
mainfrom
aindriu-aiven/make-part-size-configureable

Conversation

@aindriu-aiven

Copy link
Copy Markdown
Contributor

Before 3.4.3 the part size could be set for uploading to S3.

We are adding this configuration back in.

The minimum supported is 5MB and max is 2GB.

When set to the default 5MB, when the connector sees that 5MB of data is now available it begins to write that data to s3.

If it was set to 100MB once it gets to 100MB it will start writing that data when there is enough to write, allowing users more control over tuning the memory and upload chunks.

@aindriu-aiven
aindriu-aiven requested a review from a team as a code owner October 18, 2026 11:51
@aindriu-aiven
aindriu-aiven force-pushed the aindriu-aiven/make-part-size-configureable branch 2 times, most recently from cffee3f to 4d510d6 Compare October 18, 2026 12:36
@HelenMel

Copy link
Copy Markdown
Contributor

When set to the default 5MB, when the connector sees that 5MB of data is now available it begins to write that data to s3.

Isn't it too small if we lots of data, it could generate lots of small batches, that could be trottled by S3?

@aindriu-aiven

Copy link
Copy Markdown
Contributor Author

When set to the default 5MB, when the connector sees that 5MB of data is now available it begins to write that data to s3.

Isn't it too small if we lots of data, it could generate lots of small batches, that could be trottled by S3?

It is possible true, I was switching it back to the previous default, but in 3.4.3 we increased that amount to 60MB so we could just make this the new default and alter the documentation.
WDYT?

@aindriu-aiven
aindriu-aiven force-pushed the aindriu-aiven/make-part-size-configureable branch 2 times, most recently from d8c48c0 to d5b323e Compare October 24, 2026 20:16
@aindriu-aiven
aindriu-aiven force-pushed the aindriu-aiven/make-part-size-configureable branch from d5b323e to b24fe34 Compare October 26, 2026 12:55
HelenMel
HelenMel previously approved these changes Nov 5, 2026

@HelenMel HelenMel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. One question

…ze used in uploads

Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
…ling when used with heavy loads

Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
@aindriu-aiven
aindriu-aiven force-pushed the aindriu-aiven/make-part-size-configureable branch from 24d199f to 46067a5 Compare November 20, 2026 14:30

@Claudenw Claudenw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, I am not requesting changes as this code will work and is sufficient, but I think that using the Kafka-config library will make the display and error messages clearer.

Comment thread s3-sink-connector/README.md Resolved
Signed-off-by: Aindriu Lavelle <aindriu.lavelle@aiven.io>
@Claudenw
Claudenw merged commit fb275fe into main Nov 23, 2026
10 checks passed
@Claudenw
Claudenw deleted the aindriu-aiven/make-part-size-configureable branch November 23, 2026 16:46
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.

3 participants