go-sqs-poller

module
v0.0.0-...-df48f48 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2022 License: MIT

README

go-sqs-poller

go-sqs-poller

build Go Report Card

GoLang SQS Queue Poller using the AWS SDK v2. Released under the MIT License.

Motivation

This package was created to provide a convenient way to poll AWS SQS. It implements a simple configurable worker which could be used through a worker pool.

About

This is a detached fork of h2ik/go-sqs-poller with the following changes:

  • use AWS golang SDK V2
  • include message user attributes [MessageAttributeNames]
  • improved logging (deleted log.Println, only informative debug and error logging)
  • option to disable error logging of a handler function
  • redesign errors
  • ability to change a visibility timeout
  • update project structure
  • example wih a worker pool
  • check compatability with logrus and zap loggers

Quick Start:

Installation

$ go get github.com/aint/go-sqs-poller

Usage

Check out the cmd/example-worker/main.go for an example of how to use the worker.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL