You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "liubao (Jira)" <ji...@apache.org> on 2024/01/03 07:39:00 UTC

[jira] [Closed] (SCB-2039) [Tracing] Post Event and Genete Trace ID even Invication creation fails

     [ 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)