Skip to content

Conversation

@Claudenw
Copy link
Contributor

This PR establishes common sink integration testing framework and utilizes it to implement the existing sink integrations.

DO NOT MERGE

This phase of the PR is to establish that the implemented tests implement the tests found in the GCS code. In addition, it establishes the abstract testing framework that will be applied to Azure and S3 sink implementations to ensure that all implementations work the same.

@Claudenw Claudenw changed the base branch from main to FEAT_common_sink_integration_tests October 24, 2025 14:00
@Claudenw Claudenw force-pushed the migrate_gcs_sink_integration branch from 1491b14 to 9295cc3 Compare October 24, 2025 14:08

private BlobContainerAsyncClient containerClient;
private BlobAsyncClient blobClient;

Copy link
Contributor

Choose a reason for hiding this comment

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

can remove if you want :D

@Override
public int compareTo(Record o) {
int result = value.toString().compareTo(o.value.toString());
// String[] schema = value.getSchema().getFields().stream().map(Schema.Field::name).toArray(String[]::new);
Copy link
Contributor

Choose a reason for hiding this comment

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

Theres a good bit of commented out code here, needs to be either added back in or deleted with reasoning.

@Override
public void flush(final Map<TopicPartition, OffsetAndMetadata> currentOffsets) {
try {
LOG.debug("Flushing {} files", recordGrouper.records().size());
Copy link
Contributor

Choose a reason for hiding this comment

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

is it better to add the below for these two debug statements?
if(LOG.isdebugenabled()) {

}

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