Skip to content

Add Short-Living Async Request Scenarios for Popular Java and Go Libraries in Qubership RobotShop #8

@denifilatoff

Description

@denifilatoff

Is your feature request related to a problem? Please describe

We need to implement short-living asynchronous request scenarios between two microservices for popular libraries on Java and Go. One microservice will initiate a trace and send an asynchronous request to the second microservice via REST. The second microservice will accept the request and reply with a synchronous Ack. Immediately after, the second microservice will generate a Callback.

Initially, we will implement one Java library and one Go library as examples, and we can add more libraries as needed.

Describe the solution you'd like

Create a scenario where two microservices interact in the following manner:

  1. The first microservice starts a trace and sends an asynchronous REST request to the second microservice.
  2. The second microservice accepts the request and sends a synchronous Ack in response.
  3. The second microservice then immediately triggers a Callback.

We will implement one Java library and one Go library for this demonstration, with the option to expand the list of libraries later. The scenario should be easy to extend to include other libraries in the future.

The solution should:

  • Provide a working example using one Java library and one Go library.
  • Ensure that the traces for both microservices are linked correctly in the tracing system.
  • Allow easy extension to test additional libraries as needed.

Describe alternatives you've considered

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions