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

Carabas: Kinesis, DynamoDB, DMS - CDC record processing in different flavours #120

Merged
merged 28 commits into from
Aug 16, 2024

Conversation

amotl
Copy link
Member

@amotl amotl commented Jul 11, 2024

About

Optionally pull in infrastructure managed by others.

Status

This is a work in progress.

What's Inside

About configuration and usage.

/cc @hammerhead, @hlcianfagna, @wierdvanderhaar, @surister

@amotl amotl force-pushed the kinesis branch 6 times, most recently from 9533b64 to eba58e0 Compare July 12, 2024 02:32
@amotl amotl changed the title Kinesis: Add playground assets Kinesis / DynamoDB CDC: Basic record processors Jul 12, 2024
@amotl amotl force-pushed the kinesis branch 6 times, most recently from 6c255ac to ff69b68 Compare July 12, 2024 13:17
Copy link
Member Author

Choose a reason for hiding this comment

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

This could also be interesting in this context.

Lambda Forge is a Python framework that simplifies AWS Lambda function creation and deployment. It automates serverless management, letting developers focus on coding.

-- https://github.com/GuiPimenta-Dev/lambda-forge

@amotl amotl force-pushed the kinesis branch 4 times, most recently from 3ffae15 to 12a7c3e Compare July 28, 2024 18:08
@amotl amotl force-pushed the kinesis branch 2 times, most recently from 9b3bfbc to ad33a3f Compare July 29, 2024 14:03
@amotl amotl changed the title Kinesis / DynamoDB CDC: Basic record processors Carabas: Kinesis, DynamoDB, DMS - CDC record processing in different flavours Jul 29, 2024
@amotl amotl force-pushed the kinesis branch 3 times, most recently from 90dabdc to ff13238 Compare July 29, 2024 17:32
amotl added 21 commits August 16, 2024 00:14
It needs further curation. The next iteration should aim towards
slotting it in as a native streamz Source element.
- Software Tests
- Configuration
- Documentation
- Cleanups
- Fixes
- Batch Size: 2500
- Memory Size: 512 MB
The previous one didn't include support for DMS Serverless.
- Configure ReplicationType to use `full-load-and-cdc`.
- Configure ReplicationSettings to use `EnableBeforeImage`.
- Add RDSParameterGroup to configure pgaudit, pglogical, and
  pg_stat_statements plugins.
- Configure DMS source endpoint (PostgreSQL) to use pglogical.
- Configure DMS target endpoint (Kinesis) to include all optional
  details: ControlDetails, PartitionValue, TransactionDetails,
  NullAndEmpty, TableAlterOperations, IncludeSchemaTable
- Add `RDSInstanceArn` output variable.
- Add `ReplicationArn` output variable.
Dependency woes about `requests`, `docker`, and `pytest-asyncio-cooperative`?
Because synchronous and asynchronous tests are mixed,
and maybe because of woes with pytest fixtures, the
test suite must turn off concurrency.
- Use a real DMS replication instance
- Streamline configuration of DMS replication task
- Improve processor Lambda
- Provide new IaC entrypoint options `batch_size`, `starting_position`,
  and `starting_position_timestamp`.

- Add software integration test case for Kinesis/DMS/CrateDB.
@amotl amotl force-pushed the kinesis branch 2 times, most recently from ec4fb49 to 7e0a630 Compare August 16, 2024 00:32
@amotl amotl marked this pull request as ready for review August 16, 2024 01:28
@amotl amotl merged commit 8a8de25 into main Aug 16, 2024
4 of 6 checks passed
@amotl amotl deleted the kinesis branch August 16, 2024 01:32
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