How d-pixel-crime/endeavour works
This is a Go shared library for AWS SQS: it configures an SQS client and provides queue administration, message production, concurrent consumption, visibility extension, and queue health/statistics. The consumer polls SQS, dispatches decoded messages to a caller-supplied handler, and deletes successfully handled messages. The README is empty, so the map reflects the supplied source excerpts; the listed batch-delete implementation appears to reject every nonempty batch, and is shown as a capability without implying successful operation.
Main entry points: consumer.go Consumer poller · config.go SQS client config · queue.go Queue manager · single_producer.go Single producer
Components 11
Client setup
- SQS client config
aws_sqs_shared/config/config.go
Queue administration
- Queue manager
aws_sqs_shared/queue/queue.go
Message workflows
- Single producer
aws_sqs_shared/producer/single_producer.go - Batch producer
aws_sqs_shared/producer/batch_producer.go - Consumer poller
aws_sqs_shared/consumer/consumer.go - Batch deletion
aws_sqs_shared/consumer/batch_delete.go
Operations
- Visibility extender
aws_sqs_shared/consumer/extend_visibility.go - Queue monitor
aws_sqs_shared/monitoring/monitor.go
Other components
- Library caller
- AWS SQS
- Message handler
Connections 17
- Library caller → SQS client config: configures
aws_sqs_shared/config/config.go - SQS client config → AWS SQS: creates client
aws_sqs_shared/config/config.go - Library caller → Queue manager: manages queues
aws_sqs_shared/queue/queue.go - Queue manager → AWS SQS: creates / manages
aws_sqs_shared/queue/queue.go - Library caller → Single producer: sends messages
aws_sqs_shared/producer/single_producer.go - Single producer → AWS SQS: sends message
aws_sqs_shared/producer/single_producer.go - Library caller → Batch producer: sends batches
aws_sqs_shared/producer/batch_producer.go - Batch producer → AWS SQS: sends batch
aws_sqs_shared/producer/batch_producer.go - Library caller → Consumer poller: starts polling
aws_sqs_shared/consumer/consumer.go - Consumer poller → AWS SQS: receives / deletes
aws_sqs_shared/consumer/consumer.go - Consumer poller → Message handler: dispatches messages
aws_sqs_shared/consumer/consumer.go - Library caller → Batch deletion: requests deletion
aws_sqs_shared/consumer/batch_delete.go - Batch deletion → AWS SQS: batch deletes
aws_sqs_shared/consumer/batch_delete.go - Library caller → Visibility extender: extends visibility
aws_sqs_shared/consumer/extend_visibility.go - Visibility extender → AWS SQS: changes visibility
aws_sqs_shared/consumer/extend_visibility.go - Library caller → Queue monitor: checks queue
aws_sqs_shared/monitoring/monitor.go - Queue monitor → AWS SQS: reads attributes
aws_sqs_shared/monitoring/monitor.go