Skip to main content

What is a Data Converter

A Data Converter is a Temporal SDK component that encodes and decodes data entering and exiting a Temporal Cluster.

Data Converter encodes and decodes data

Data Converter encodes and decodes data

Data is encoded before it is sent to a Temporal Cluster, and it is decoded when it is to be used in Workflow Executions or Activity Executions or returned to a process by using an SDK Client.

Default Data Converter#

Each Temporal SDK includes a default Data Converter. The default Data Converter ensures that data is encoded into a format that is supported by gRPC—specifically, a Payload protobuf, which consists of binary data plus key-value metadata.

Custom Data Converter#

Applications can supply their own custom Data Converters to add layers of encoding, such as encryption.

This gives application developers the ability to ensure that all data provided to their application is encrypted while moving in the Temporal System and is transformed back to its original form only within a Worker Process that is executing Workflows and Activities on hosts that the application developers control.