temporalio / documentation

Temporal documentation
https://docs.temporal.io
Other
85 stars 224 forks source link

[ Documentation request ] Add "polyglot" usage to dev guide #2059

Open mjameswh opened 1 year ago

mjameswh commented 1 year ago

Brief description

Dev guides should include explanations of cross-SDK usages. Doc would follow a similar structure for all languages, but explanations and code example would have to be tailored to each language.

We have a few samples of polyglot usage scenarios here and there, but they are mostly "proof of concept", providing no explanation and no guidance on how to replicate. They also grow quite inefficiently relative to the number of languages (need ~NxNx8 samples to cover all combinaissons, but ~Nx8 samples to document it thoroughly).

Your recommended content

Note: The text below has been extracted from a Slack conversation regarding TS Workflows calling Python activities.

cretz commented 1 year ago

I think for a basic starter here, you can just show the same activity (name and types) in each lang and a sample workflow calling it from each lang (including the interfaces/mocks representing the activity). Then you can explain the caveats about conversion, task queue, etc.