-
Notifications
You must be signed in to change notification settings - Fork 3
Kinesis ingest #14
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
Kinesis ingest #14
Conversation
src/lua_resty_netacea.lua
Outdated
| 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 |
There was a problem hiding this comment.
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
| -- TODO | ||
| BytesReceived = vars.bytes_received or 0, -- Doesn't seem to work |
There was a problem hiding this comment.
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
rswalkden
left a comment
There was a problem hiding this 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
Good shout on the dead letter queue. I've added it in. |
Update this integration to work with Netacea Ingest v2 - based around AWS Kinesis streams.