Skip to content

[AWSINTS-3514] feat(go-forwarder): add Kinesis invocation#1110

Merged
ndakkoune merged 4 commits into
nabil.dakkoune/go-forwarderfrom
nabil.dakkoune/AWSINTS-3514
Apr 21, 2026
Merged

[AWSINTS-3514] feat(go-forwarder): add Kinesis invocation#1110
ndakkoune merged 4 commits into
nabil.dakkoune/go-forwarderfrom
nabil.dakkoune/AWSINTS-3514

Conversation

@ndakkoune

@ndakkoune ndakkoune commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds the Kinesis handler responsible to wrap and redirect to the CloudWatch parsing logic.

Motivation

Testing Guidelines

Additional Notes

  • We encode back the record.Kinesis.Data in base64 because the json.unmarshal give us events.KinesisRecord.Data which are already base64 decoded but not ungzipped. We go this way to leverage HandleCloudwatchLogs.

Types of changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)
  • This PR passes the unit tests
  • This PR passes the installation tests (ask a Datadog member to run the tests)

@ndakkoune ndakkoune marked this pull request as ready for review April 21, 2026 12:15
@ndakkoune ndakkoune requested a review from a team as a code owner April 21, 2026 12:15
@ndakkoune ndakkoune requested review from ViBiOh and ge0Aja April 21, 2026 12:15
@ndakkoune ndakkoune changed the title feat(go-forwarder): add Kinesis invocation [AWSINTS-3514] feat(go-forwarder): add Kinesis invocation Apr 21, 2026
Comment thread aws/logs_monitoring_go/internal/parsing/kinesis.go Outdated
Comment thread aws/logs_monitoring_go/internal/parsing/kinesis.go Outdated
@ge0Aja ge0Aja self-assigned this Apr 21, 2026
@ndakkoune ndakkoune force-pushed the nabil.dakkoune/AWSINTS-3514 branch from 68bba8d to 9be32d7 Compare April 21, 2026 15:22
@ndakkoune ndakkoune requested a review from ge0Aja April 21, 2026 15:27
}

for _, record := range kinesisEvent.Records {
cwEvent := events.CloudwatchLogsEvent{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: extract this to a function

@ge0Aja ge0Aja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lgtm, added a nit comment

@ndakkoune ndakkoune merged commit 076c63b into nabil.dakkoune/go-forwarder Apr 21, 2026
10 checks passed
@ndakkoune ndakkoune deleted the nabil.dakkoune/AWSINTS-3514 branch April 21, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants