wormhole-explorer/parser
gipsh dcea5b2332
pass context to missing funcs (#116)
add missiong context

Co-authored-by: gipsh <gipsh@gmail.com>
2023-02-01 06:43:07 -03:00
..
cmd pass context to missing funcs (#116) 2023-02-01 06:43:07 -03:00
config Enabled pprof parser component (#83) 2023-01-23 16:40:39 -03:00
http/infrastructure pass context to missing funcs (#116) 2023-02-01 06:43:07 -03:00
internal pass context to missing funcs (#116) 2023-02-01 06:43:07 -03:00
parser Feature/add parser pipeline (#46) 2023-01-18 12:42:14 -03:00
pipeline pass context to missing funcs (#116) 2023-02-01 06:43:07 -03:00
queue pass context to missing funcs (#116) 2023-02-01 06:43:07 -03:00
watcher pass context to missing funcs (#116) 2023-02-01 06:43:07 -03:00
.env.example Feature/add parser pipeline (#46) 2023-01-18 12:42:14 -03:00
.gitignore Feature/add parser pipeline (#46) 2023-01-18 12:42:14 -03:00
Dockerfile Add k8s deployment for parser (#63) 2023-01-19 12:42:18 -03:00
Makefile create cicd pipeline for deployments to staging environment - step 1 (#71) 2023-01-23 18:41:19 -03:00
README.md Feature/add parser pipeline (#46) 2023-01-18 12:42:14 -03:00
go.mod Change aws sdk to v2, to fix memory leak long pooling (#95) 2023-01-26 14:15:39 -03:00
go.sum Change aws sdk to v2, to fix memory leak long pooling (#95) 2023-01-26 14:15:39 -03:00

README.md

Parser

Config SQS FIFO with dead letter queue localstack

aws --profile localstack --endpoint-url=http://localhost:4566 sqs create-queue --queue-name=wormhole-vaa-parser-dlq-queue.fifo --attributes "FifoQueue=true"

aws --profile localstack --endpoint-url=http://localhost:4566 sqs create-queue --queue-name=wormhole-vaa-parser-queue.fifo --attributes FifoQueue=true,MessageRetentionPeriod=3600,ReceiveMessageWaitTimeSeconds=5,VisibilityTimeout=20,RedrivePolicy=""{\"deadLetterTargetArn\":\"arn:aws:sqs:us-east-1:000000000000:wormhole-vaa-parser-dlq-queue.fifo\",\"maxReceiveCount\":\"2\"}""

Check message in the dead letter queue localstack

aws --profile localstack --endpoint-url=http://localhost:4566 sqs receive-message --queue-url=http://localhost:4566/000000000000/wormhole-vaa-parser-dlq-queue.fifo