Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/s3-source-release' into aindri…
Browse files Browse the repository at this point in the history
…u-aiven/offset_mgr_to_commons
  • Loading branch information
aindriu-aiven committed Jan 27, 2025
2 parents 08d98f9 + 276b380 commit 455e7ee
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ public Stream<S3Object> getS3ObjectStream(final String startToken) {
// This is called every time next() is called on the iterator.
if (response.isTruncated()) {
return s3Client.listObjectsV2(ListObjectsV2Request.builder()
.bucket(bucketName)
.maxKeys(s3SourceConfig.getS3ConfigFragment().getFetchPageSize() * PAGE_SIZE_FACTOR)
.continuationToken(response.nextContinuationToken())
.build());
Expand Down

0 comments on commit 455e7ee

Please sign in to comment.