awslabs / awslabs/amazon-sqs-java-messaging-lib

Is there a way to obtain AWS Trace Header as part JMSListener headers ?

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
183
Forks
150
PR merge metrics
No merged PRs in 30d

Description

Hi,

Amazon SQS supports tracing of message passed through it's queue using the [system attribute](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-metadata.html#sqs-message-system-attributes). However on the consumer/receiver end, we are using JMSListener, with the basic configuration to receive message from the queue.

Is there a way to obtain the system attribute by using JMSListener? We would want to trace the entire message flow and figure the bottlenecks in our application.

Kindly point us to the documentation, or sample code that can be used for achieving this.

`
com.amazonaws
amazon-sqs-java-messaging-lib
1.0.8

`

Let me know if any additional information is required

Contributor guide

Open the contributing guide

Research direction

Start with the JMSListener receive path and the AWS SQS system-attribute documentation linked in the issue. Determine whether the AWS Trace Header is exposed through JMS message headers; done means documenting or demonstrating the supported retrieval path, or recording the limitation if none exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, java
Domain
backend, distributed-systems
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.