Skip to content

Conversation

@whiteh
Copy link
Contributor

@whiteh whiteh commented Nov 24, 2025

Update this integration to work with Netacea Ingest v2 - based around AWS Kinesis streams.

  1. Adds library to sign and submit requests to the Kinesis API
  2. Updates the Semaphore based threading to maintain a queue of data to be sent and a background process to batch records together
  3. Updates the fields captured to the new minimum standard. Some fields remain to be captured successfully, but they will be picked up in subsequent work.

@whiteh whiteh requested a review from a team as a code owner November 24, 2025 16:06
@whiteh whiteh changed the base branch from master to v1.0.0 November 24, 2025 16:11
local res, err = client:put_records(records)
if err then
ngx.log( ngx.ERR, "NETACEA BATCH - error sending batch to Kinesis: ", err );
-- TODO: Consider implementing retry logic or dead letter queue
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you want to do about this? Maybe raise a ticket in the backlog? Our other integrations do retry these batches

Comment on lines +661 to +662
-- TODO
BytesReceived = vars.bytes_received or 0, -- Doesn't seem to work
Copy link
Contributor

Choose a reason for hiding this comment

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

What is the issue here? Bytes received can be a nuisance, most of the time we just take the value of the content-length header I think

Copy link
Contributor

@rswalkden rswalkden left a comment

Choose a reason for hiding this comment

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

LGTM so long as we remember about those TODOs

@whiteh
Copy link
Contributor Author

whiteh commented Dec 9, 2025

LGTM so long as we remember about those TODOs

Good shout on the dead letter queue. I've added it in.

@whiteh whiteh merged commit c917f2c into v1.0.0 Dec 10, 2025
@whiteh whiteh deleted the kinesis-ingest branch December 10, 2025 12:30
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.

3 participants