Skip to content

Commit

Permalink
S3V2: Increase memory overhead ratio
Browse files Browse the repository at this point in the history
  • Loading branch information
johnny-schmidt committed Dec 17, 2024
1 parent 9f819a1 commit c6b4783
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ data:
connectorSubtype: file
connectorType: destination
definitionId: d6116991-e809-4c7c-ae09-c64712df5b66
dockerImageTag: 0.3.2
dockerImageTag: 0.3.3
dockerRepository: airbyte/destination-s3-v2
githubIssueLabel: destination-s3-v2
icon: s3.svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ data class S3V2Configuration<T : OutputStream>(
override val objectStorageUploadConfiguration: ObjectStorageUploadConfiguration =
ObjectStorageUploadConfiguration(),
override val recordBatchSizeBytes: Long,
override val numProcessRecordsWorkers: Int = 2
override val numProcessRecordsWorkers: Int = 2,
override val estimatedRecordMemoryOverheadRatio: Double = 5.0
) :
DestinationConfiguration(),
AWSAccessKeyConfigurationProvider,
Expand All @@ -65,7 +66,7 @@ class S3V2ConfigurationFactory(
objectStoragePathConfiguration = pojo.toObjectStoragePathConfiguration(),
objectStorageFormatConfiguration = pojo.toObjectStorageFormatConfiguration(),
objectStorageCompressionConfiguration = pojo.toCompressionConfiguration(),
recordBatchSizeBytes = recordBatchSizeBytes
recordBatchSizeBytes = recordBatchSizeBytes,
)
}
}
Expand Down

0 comments on commit c6b4783

Please sign in to comment.