elastic / elastic/beats

Make aws-cloudwatch input to ensure at-least-once delivery

Open
#32,641 6 comments 4 reactions 0 assignees View on GitHub
enhancement Filebeat Team:Cloud-Monitoring
Dominant language
Go
Stars
12.7k
Forks
5k
Avg merge
2d 15m
Merged PRs (30d)
385

Description

Filebeat guarantees that events will be delivered to the configured output at least once and with no data loss. Filebeat is able to achieve this behavior because it stores the delivery state of each event in the registry file. For `aws-cloudwatch` input, which is a part of Filebeat, we should also start using registry file and enhance it to ensure at-least-once delivery.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Go implementation of the aws-cloudwatch input and the existing registry-file handling; the issue names no files or tests. Trace how delivery state is tracked across retries and restarts, then identify tests needed to demonstrate at-least-once delivery and no data loss.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, go
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.