Distributed Tracing Context Propagation

Hello Christian & Alex,
thank you very much for your patience and help.
Now it works! The hint from Christian with the “-tcc” flags was the push in the right direction. Instead of using the example from the codelab which uses a older version of sdkperf I needed to use the “new” tcc flags provided by sdkperf.
Now I get the expected result and have a trace which spans from start to finish :slight_smile:

If someone else has struggles like I do - here is the solution that worked in the end.
On the sender sdkperf:
./sdkperf_jms.sh \

-cip=smfs://:55443
    -ptl=
    -mn=1
    -msa=100
    -mt=persistent
    -cu=@
    -cp=
    -jcf=
    -tcc
    -tecip=“http://:4317”
On the receiver sdkperf:
./sdkperf_jms.sh  
    -cip=smfs://:55443
    -sql=
    -cu=@
    -cp=
    -jcf=
    -tcrc
    -tecip=“http://:4317”

Just a final hint maybe - if you are using the “-tmd” flag provided by sdkperf on the receiver
  -tmd              Trace message dump. When printing messages, the payload will be decoded

from the protobuf to show trace data (Also sets -md to true)
you will get an error
2023-01-13 09:12:39,997 [Context_2_jms_1_ConsumerDispatcher] ERROR [com.solacesystems.jms.impl.JCSMPMessageListener] Error on async receiving of BytesXMLMessage
java.lang.NoClassDefFoundError: com/google/protobuf/MessageOrBuilder
Not sure if this lib can not be added to sdkperf because of licensing issues but I had to manually download and add it to my lib directory from here Maven Repository: com.google.protobuf » protobuf-java (mvnrepository.com) >
But even after you add it, you still receive an error
2023-01-13 09:11:43,646 [Context_2_jms_1_ConsumerDispatcher] ERROR [com.solacesystems.pubsub.sdkperf.core.AbstractClient] Failed to parse trace:
com.google.protobuf.InvalidProtocolBufferException: While parsing a protocol message, the input ended unexpectedly in the middle of a field.  This could mean either that the input has been truncated or that an embedded message misreported its own length.
Not sure if I still did something wrong - but it was not important for me. I just did not use the flag and everything else worked as expected. So I am happy :wink:
Greetings,
Jan-Filip.