Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Pattern: aws-kinesisstreams-gluejob #122

Merged
merged 133 commits into from
Feb 12, 2021
Merged

New Pattern: aws-kinesisstreams-gluejob #122

merged 133 commits into from
Feb 12, 2021

Conversation

knihit
Copy link
Member

@knihit knihit commented Jan 20, 2021

Issue #: #40

Description of changes: Added a new construct to create a streaming glue etl job, that sources data from Amazon Kinesis Data Stream and writes to an S3 bucket. With the default set of parameters, the construct creates an Amazon Kinesis Data Stream, AWS Glue Job, AWS Glue Database, AWS Glue Table, IAM Role with policies required for the job, an output S3 bucket as well an asset based S3 bucket for the ETL script.

The pull request also has a working example under use cases folder on using this construct.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 7211d7d
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 24779df
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 3291b5e
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 6928f6f
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 75a869f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@knihit knihit requested a review from hnishar February 4, 2021 19:00
* "comment": "Some value associated with the record"
* },
*
* @default
Copy link
Contributor

Choose a reason for hiding this comment

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

If there is no default, use

* @default - None

readonly outputDataStore?: defaults.SinkDataStoreProps;
}

export class KinesisStreamGlueJob extends Construct {
Copy link
Contributor

Choose a reason for hiding this comment

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

Hate to do this to you, we should have caught this last time - but this class name should be KinesisstreamsToGluejob

The "To" has been standard everywhere. The pure Pascal casing is something we clarified and documented over the past 2 weeks. If it was just the casing we wouldn't ask you to go back and change - but we gotta have the To.

Copy link
Member Author

Choose a reason for hiding this comment

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

@biffgaut , would also request if you can check the java and python package naming conventions.

readonly outputDataStore?: defaults.SinkDataStoreProps;
}

export class KinesisStreamGlueJob extends Construct {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm seeing about 50% of the classes have an @summary comment, but since that comment is always:

/**
 * @summary The SnsToLambda class.
 */
export class SnsToLambda extends Construct {

I'm OK leaving it out.

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: cfd9836
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 8c12c6c
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 285dbfa
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 7a8a8d1
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@knihit knihit requested a review from biffgaut February 5, 2021 21:57
@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: a489345
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: fd6c92d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@aws-solutions-constructs-team
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: codebuildgithubautobuildPro-QfXHf1ULVFb1
  • Commit ID: 649e629
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@hnishar hnishar left a comment

Choose a reason for hiding this comment

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

Approved

@biffgaut biffgaut merged commit 25961ad into awslabs:master Feb 12, 2021
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.

5 participants