Skip to content

feat: add kinesis log stream#74

Closed
vasco-santos wants to merge 2 commits intomainfrom
feat/add-kinesis-log-stream
Closed

feat: add kinesis log stream#74
vasco-santos wants to merge 2 commits intomainfrom
feat/add-kinesis-log-stream

Conversation

@vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Dec 8, 2022

Adds kinesis ucan log stream to ucanto service. Once a UCAN invocation is handled by the service, it is sent to Amazon Kinesis data streams for post processing (JSON with invocation CID, invocation bytes, and decoded invocation).

Kinesis log stream has its own stack named UcanStreamStack which will include resources needed for post processing of ucan stream ops. ApiStack depends on UcanStreamStack given it will use its stream, as well as its data further down the line to get content like user facing stats

Per https://www.notion.so/UCAN-LOG-0f3870fc4b404f5cbf646bf16b463365

Other notes:

@seed-deploy
Copy link

seed-deploy bot commented Dec 8, 2022

View stack outputs

@vasco-santos vasco-santos mentioned this pull request Dec 8, 2022
1 task
@vasco-santos vasco-santos force-pushed the feat/add-kinesis-log-stream branch from 1923c68 to a5d412b Compare December 8, 2022 15:57
@seed-deploy seed-deploy bot temporarily deployed to pr74 December 8, 2022 15:57 Inactive
@vasco-santos vasco-santos marked this pull request as ready for review December 8, 2022 16:00
@vasco-santos vasco-santos force-pushed the feat/add-kinesis-log-stream branch from a5d412b to a799de6 Compare December 8, 2022 16:12
@seed-deploy seed-deploy bot temporarily deployed to pr74 December 8, 2022 16:12 Inactive
const stream = new KinesisStream(stack, 'ucan-stream', {
cdk: {
stream: {
retentionPeriod: Duration.days(365)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vasco-santos vasco-santos force-pushed the feat/add-kinesis-log-stream branch from a799de6 to 51334f2 Compare December 8, 2022 16:27
@seed-deploy seed-deploy bot temporarily deployed to pr74 December 8, 2022 16:27 Inactive
@vasco-santos vasco-santos requested review from alanshaw and olizilla and removed request for alanshaw and olizilla December 8, 2022 16:30
@vasco-santos
Copy link
Contributor Author

@alanshaw FYI we need some changes by our discussion last night. So, removed review until I sort it out

@vasco-santos vasco-santos force-pushed the feat/add-kinesis-log-stream branch from 51334f2 to e9f234e Compare December 9, 2022 10:02
@seed-deploy seed-deploy bot temporarily deployed to pr74 December 9, 2022 10:02 Inactive
@vasco-santos vasco-santos force-pushed the feat/add-kinesis-log-stream branch from e9f234e to 66c9e3b Compare December 9, 2022 10:53
@vasco-santos
Copy link
Contributor Author

SST is having a bad time. Need to close to wipe out cloudformation...

@vasco-santos vasco-santos deleted the feat/add-kinesis-log-stream branch December 9, 2022 15:20
@vasco-santos vasco-santos restored the feat/add-kinesis-log-stream branch December 9, 2022 15:21
@seed-deploy seed-deploy bot temporarily deployed to pr86 December 9, 2022 15:21 Inactive
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.

1 participant