
Community threads: Is it possible to write a single Workflow with different languages?
3/5/2024
This post introduces the concept and implementation details of using multiple programming languages within a single Temporal workflow. It explains that while a Workflow definition itself is language-specific, it can invoke Activities written in other languages. Key technical aspects covered include the need for separate Workers per language, unique task queue naming conventions to differentiate activities, and the automatic data type conversion provided by Temporal SDKs for cross-language interoperability. It also references example applications (Temporal Polyglot and Temporal Pendulum) that demonstrate this polyglot capability.