ConfigureLPQueue

command
v0.0.0-...-9d6317c Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

ConfigureLPQueuev2.go

This example configures an Amazon SQS queue to use long polling.

go run ConfigureLPQueuev2.go -q QUEUE-NAME [-w WAIT-TIME]

  • QUEUE-NAME is the name of the queue to configure.
  • WAIT-TIME is how long, in seconds, to wait. The example ensures the value is between 1 and 20; the default is 10.

The unit test accepts similar values in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[sqs.go-v2.ConfigureLPQueue]

Jump to

Keyboard shortcuts

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