[ 
https://issues.apache.org/jira/browse/SCB-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liubao closed SCB-2039.
-----------------------
    Resolution: Won't Fix

> [Tracing] Post Event and Genete Trace ID even Invication creation fails
> -----------------------------------------------------------------------
>
>                 Key: SCB-2039
>                 URL: https://issues.apache.org/jira/browse/SCB-2039
>             Project: Apache ServiceComb
>          Issue Type: Improvement
>          Components: Java-Chassis
>            Reporter: Jun Gan
>            Priority: Major
>
> Currently, In the ProducerInvocationFlow.java, if Invocation creation fails, 
> then trace Id will not be create. We need to generate Trace ID even 
> invocation creation fails.
>  
> {code:java}
> // code placeholder
> public void run() {
>   CompletableFuture.completedFuture(null)
>       .thenApply(v -> invocationCreator.create())
>       .exceptionally(this::sendCreateInvocationException)
>       .thenAccept(this::tryRunInvocation);
> }
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to