-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Destination-S3: Migrate to Bulk Load CDK (#50857)
- Loading branch information
1 parent
9b717fc
commit 346c23f
Showing
52 changed files
with
191 additions
and
2,043 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
airbyte-integrations/connectors/destination-s3-v2/build.gradle
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
airbyte-integrations/connectors/destination-s3-v2/finalize_build.sh
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
124 changes: 0 additions & 124 deletions
124
airbyte-integrations/connectors/destination-s3-v2/metadata.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,2 @@ | ||
# S3 Test Configuration | ||
# S3 V2 (Bulk CDK) Destination | ||
|
||
In order to test the S3 destination, you need an AWS account (or alternative S3 account). | ||
|
||
## Community Contributor | ||
|
||
As a community contributor, you will need access to AWS to run the integration tests. | ||
|
||
- Create an S3 bucket for testing. | ||
- Get your `access_key_id` and `secret_access_key` that can read and write to the above bucket. | ||
- if you leave `access_key_id` and `secret_access_key` in blank, the authentication will rely on the instance profile authentication | ||
- Paste the bucket and key information into the config files under [`./sample_secrets`](./sample_secrets). | ||
- Rename the directory from `sample_secrets` to `secrets`. | ||
- Feel free to modify the config files with different settings in the acceptance test file (e.g. `S3CsvDestinationAcceptanceTest.java`, method `getFormatConfig`), as long as they follow the schema defined in [spec.json](src/main/resources/spec.json). | ||
|
||
## Airbyte Employee | ||
|
||
- Access the `destination s3 creds` secrets on Last Pass, and put it in `sample_secrets/config.json`. | ||
- Rename the directory from `sample_secrets` to `secrets`. | ||
|
||
## Add New Output Format | ||
|
||
- Add a new enum in `S3Format`. | ||
- Modify `spec.json` to specify the configuration of this new format. | ||
- Update `S3FormatConfigs` to be able to construct a config for this new format. | ||
- Create a new package under `io.airbyte.integrations.destination.s3`. | ||
- Implement a new `DestinationFileWriter`. The implementation can extend `BaseS3Writer`. | ||
- Write an acceptance test for the new output format. The test can extend `S3DestinationAcceptanceTest`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.