com.jashmore.sqs.brave.propogation.SendMessageRemoteSetter Maven / Gradle / Ivy
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