Skip to content
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

lambda-promtail dlq - which one to use Asynchronous invocation or Destinations ? #12852

Open
suvisheshs opened this issue May 2, 2024 · 3 comments
Assignees
Labels
help wanted We would love help on these issues. Please come help us! lambda-promtail type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories type/question

Comments

@suvisheshs
Copy link

On-Failure log recovery using SQS says You can configure lambda so that unsuccessfully processed messages will be sent to the DLQ but not says which way
does.
please clarify it.

There are 2 ways we can add it

  1. Asynchronous invocation
    image

  2. Destinations
    image

@cstyan
Copy link
Contributor

cstyan commented May 2, 2024

@CCOLLOT IIRC you added the support for SQS as well as these docs. We don't use lambda promtail with SQS ourselves so I don't have an answer here off the top of my head.

@cstyan cstyan added type/question lambda-promtail type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories labels May 2, 2024
@CCOLLOT
Copy link
Contributor

CCOLLOT commented May 3, 2024

Hi, when implementing this feature I was using the synchronous destinations mode. On failure, the event would be retried a few times before being sent to the DLQ. In this mode you need to have enough concurrency on your lambda function to handle incoming events.
I suppose it should work with the asynchronous mode as well, but I'm not sure the payload schema is the same so it might require some adjustments.

@cstyan
Copy link
Contributor

cstyan commented May 3, 2024

@CCOLLOT thanks for your reply 👍

@JStickler JStickler added the help wanted We would love help on these issues. Please come help us! label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted We would love help on these issues. Please come help us! lambda-promtail type/docs Issues related to technical documentation; the Docs Squad uses this label across many repositories type/question
Projects
None yet
Development

No branches or pull requests

4 participants