Skip to content

aws_dynamodb_cdc: simplify the counting of in-flight messages - #4744

Open
Leward wants to merge 4 commits into
mainfrom
dynamo_batcher_improvements
Open

aws_dynamodb_cdc: simplify the counting of in-flight messages#4744
Leward wants to merge 4 commits into
mainfrom
dynamo_batcher_improvements

Conversation

@Leward

@Leward Leward commented Aug 31, 2026

Copy link
Copy Markdown

This makes it easier for a human to reason about the code. It is functionally identical.

The code comment has been reworded to be easier to read and understand.

The InFlightCount() makes it easier to create unit tests focus on that specific logic (see TestBatcherInFlightCount).

This makes it easier for a human to reason about the code. It is functionally identical.

The code comment has been reworder to be easier to read and understand.
@CLAassistant

CLAassistant commented Aug 31, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Comment thread internal/impl/aws/dynamodb/batcher.go Outdated
Comment thread internal/impl/aws/dynamodb/batcher.go Outdated
Comment thread internal/impl/aws/dynamodb/batcher.go Outdated
Improves readability by providing a more descriptive variable name.
@Leward
Leward requested a review from squiidz August 31, 2026 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants