com.jashmore.sqs.brave.propogation.SendMessageRemoteGetter 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;
import java.util.Optional;
/**
* Used to consume the tracing information from the message attributes of the SQS message.
*
* @see SendMessageRemoteSetter for placing this information into the message attributes
*/
public class SendMessageRemoteGetter implements Propagation.RemoteGetter