roadrunner icon indicating copy to clipboard operation
roadrunner copied to clipboard

[💡 FEATURE REQUEST]: Overwrite `client-name` and `client-version` in Go client to represent PHP-SDK

Open rustatian opened this issue 2 years ago • 0 comments

Plugin

Temporal

I have an idea!

In order to track the temporal usage all the client calls, workflow and activity polling calls, must container an SDK version header. Since Golang SDK represents PHP one - we have to adjust this header as well, via GRPC interceptor or another way.

See: https://github.com/temporalio/sdk-php/issues/220 Also: https://github.com/temporalio/sdk-php/blob/master/src/Client/GRPC/Context.php#L35

Target: https://github.com/temporalio/roadrunner-temporal/blob/master/plugin.go#L159

todo: apply grpc interceptor for the worker's ConnectionOptions: https://pkg.go.dev/go.temporal.io/[email protected]/internal#ConnectionOptions

@wolfy-j Original issue: https://github.com/temporalio/roadrunner-temporal/issues/253

rustatian avatar Aug 06 '22 18:08 rustatian