
com.jashmore.sqs.brave.propogation.SendMessageRemoteSetter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sqs-brave-tracing Show documentation
Show all versions of sqs-brave-tracing Show documentation
Helper Util for adding Tracing information to the message attributes of outbound SQS messages
package com.jashmore.sqs.brave.propogation;
import static brave.Span.Kind.PRODUCER;
import brave.Span;
import brave.Tracing;
import brave.propagation.Propagation;
import brave.propagation.TraceContext;
import software.amazon.awssdk.services.sqs.model.MessageAttributeValue;
import java.util.Map;
/**
* Used to set the tracing information into the message attributes of a SQS message.
*
* @see SendMessageRemoteGetter for extraction this information from the message attributes
*/
public class SendMessageRemoteSetter implements Propagation.RemoteSetter
© 2015 - 2025 Weber Informatics LLC | Privacy Policy