# \#data-converter

**URL:** https://community.temporal.io/tag/data-converter/125.md

[Latest](https://community.temporal.io/latest.md) · [Categories](https://community.temporal.io/categories.md) · [Tags](https://community.temporal.io/tags.md)

---

## [Creating a custom Data Converter on Temporal](https://community.temporal.io/t/creating-a-custom-data-converter-on-temporal/18361)

<div class="topic-metadata">

**Author:** [@igor\_quintal](https://community.temporal.io/u/igor_quintal)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 2:51am UTC](https://community.temporal.io/t/creating-a-custom-data-converter-on-temporal/18361 "2025-09-18T02:51:32Z")

</div>

Hi everyone! I started working with Temporal recently and one of the problems I was having is that many of my activities perform calculations using JS’s BigInt instead of the regular Number. The problem is that Temporal …

---

## [\<coroutine not found: stack trace truncated: stackBuf is too small\>](https://community.temporal.io/t/coroutine-not-found-stack-trace-truncated-stackbuf-is-too-small/16034)

<div class="topic-metadata">

**Author:** [@hvpatla](https://community.temporal.io/u/hvpatla)\
**Replies:** 3\
**Last updated:** [January 13, 2025, 7:20pm UTC](https://community.temporal.io/t/coroutine-not-found-stack-trace-truncated-stackbuf-is-too-small/16034 "2025-01-13T19:20:22Z")

</div>

I am facing the error when running large amount of workflows (1M+) \<coroutine not found: stack trace truncated: stackBuf is too small\> any suggestions?

---

## [Temporal SDK with typescript - json protobuf](https://community.temporal.io/t/temporal-sdk-with-typescript-json-protobuf/10546)

<div class="topic-metadata">

**Author:** [@liron29](https://community.temporal.io/u/liron29)\
**Replies:** 10\
**Last updated:** [January 3, 2024, 9:53pm UTC](https://community.temporal.io/t/temporal-sdk-with-typescript-json-protobuf/10546 "2024-01-03T21:53:29Z")

</div>

Hi! I’m using the typescript sdk in which I have a workflow that I want to pass a proto object as arg. This is the error I’m getting: ValueError: Unknown encoding: json/protobuf According to the docs, I guess I need…

---

## [Is google.protobuf.Any supported?](https://community.temporal.io/t/is-google-protobuf-any-supported/10089)

<div class="topic-metadata">

**Author:** [@darewreck](https://community.temporal.io/u/darewreck)\
**Replies:** 1\
**Last updated:** [November 13, 2023, 10:09pm UTC](https://community.temporal.io/t/is-google-protobuf-any-supported/10089 "2023-11-13T22:09:41Z")

</div>

is google.protobuf.Any supported by default data convertor?

---

## [How to use async function in custom payload converter](https://community.temporal.io/t/how-to-use-async-function-in-custom-payload-converter/9961)

<div class="topic-metadata">

**Author:** [@kiokuless](https://community.temporal.io/u/kiokuless)\
**Replies:** 5\
**Last updated:** [November 1, 2023, 4:16am UTC](https://community.temporal.io/t/how-to-use-async-function-in-custom-payload-converter/9961 "2023-11-01T04:16:23Z")

</div>

Hi Temporal! I am building a CustomPayloadConverter to handle data over 2MB. The specification is as follows. The ToPayload function serializes the 2MB or larger data passed as an argument into a Protobuf message, stor…

---

## [Golang struct with Protobuf Data coverting issues](https://community.temporal.io/t/golang-struct-with-protobuf-data-coverting-issues/2409)

<div class="topic-metadata">

**Author:** [@Steven\_Sun](https://community.temporal.io/u/Steven_Sun)\
**Replies:** 3\
**Last updated:** [June 21, 2021, 11:01pm UTC](https://community.temporal.io/t/golang-struct-with-protobuf-data-coverting-issues/2409 "2021-06-21T23:01:39Z")

</div>

We have golang struct like below, in the MetricsValues SLAMetrics is a protobuf object, type ExecutionResult struct { // Unique identifier. Id \*RunId // Represents an id in the Falcon for test run. ExecutionId strin…

---

## [Make deadlock detection within DataConverter optional](https://community.temporal.io/t/make-deadlock-detection-within-dataconverter-optional/7631)

<div class="topic-metadata">

**Author:** [@Sai\_Kiran\_Dasika](https://community.temporal.io/u/Sai_Kiran_Dasika)\
**Replies:** 5\
**Last updated:** [March 21, 2023, 12:50am UTC](https://community.temporal.io/t/make-deadlock-detection-within-dataconverter-optional/7631 "2023-03-21T00:50:07Z")

</div>

Hi, I currently have a DataConverter implemented that talks to a remote server for encrypting/decrypting data. The temporal java-sdk seems to be thinking that there is a deadlock when the remote server takes a little lo…

---

## [Deadlock when Blob data size is over the "Warn" limit](https://community.temporal.io/t/deadlock-when-blob-data-size-is-over-the-warn-limit/4749)

<div class="topic-metadata">

**Author:** [@Delicious\_Bacon](https://community.temporal.io/u/Delicious_Bacon)\
**Replies:** 4\
**Last updated:** [May 20, 2022, 3:28pm UTC](https://community.temporal.io/t/deadlock-when-blob-data-size-is-over-the-warn-limit/4749 "2022-05-20T15:28:38Z")

</div>

When I get the warning for the Blob data size, my worker goes into panic deadlock. The size of the Blob data is not even near the 2MB hard limit (error limit), it just went a little bit over the warning limit. NOTE: I …

---

## [Configurable retry policy for Workflow Tasks](https://community.temporal.io/t/configurable-retry-policy-for-workflow-tasks/4626)

<div class="topic-metadata">

**Author:** [@CJ\_Kim](https://community.temporal.io/u/CJ_Kim)\
**Replies:** 2\
**Last updated:** [May 13, 2022, 4:07pm UTC](https://community.temporal.io/t/configurable-retry-policy-for-workflow-tasks/4626 "2022-05-13T16:07:16Z")

</div>

In our use case we leverage a custom data converter to handle our custom encryption/decryption requirement for workflow payloads. As a result our custom data converter is invoked by a Workflow Task, however we are unable…

---

## [Tctl dataconverter plugin](https://community.temporal.io/t/tctl-dataconverter-plugin/3416)

<div class="topic-metadata">

**Author:** [@sstarcher](https://community.temporal.io/u/sstarcher)\
**Replies:** 4\
**Last updated:** [November 19, 2021, 7:47am UTC](https://community.temporal.io/t/tctl-dataconverter-plugin/3416 "2021-11-19T07:47:16Z")

</div>

I have a custom data converter that does the encryption/decryption of the payload. So in the WebUI, this shows up as encrypted. Let me know if my understanding tctl dataconverter web --web-uri xxx Would open up a web…

---

## [Workflow attempting deserialization when it shouldn't](https://community.temporal.io/t/workflow-attempting-deserialization-when-it-shouldnt/3316)

<div class="topic-metadata">

**Author:** [@saifxhatem](https://community.temporal.io/u/saifxhatem)\
**Replies:** 13\
**Last updated:** [November 7, 2021, 5:33pm UTC](https://community.temporal.io/t/workflow-attempting-deserialization-when-it-shouldnt/3316 "2021-11-07T17:33:09Z")

</div>

I have a Vertx/Temporal setup where vertx receives Kafka records and throws them to workflows. So, vertx maps the input to my model: PortalZone zoneAfter = recordAfter.mapTo(PortalZone .class); This is the first Deser…

---

## [Using Compressed Input and Output](https://community.temporal.io/t/using-compressed-input-and-output/2509)

<div class="topic-metadata">

**Author:** [@amlanroy1980](https://community.temporal.io/u/amlanroy1980)\
**Replies:** 3\
**Last updated:** [July 8, 2021, 3:34pm UTC](https://community.temporal.io/t/using-compressed-input-and-output/2509 "2021-07-08T15:34:39Z")

</div>

The Workflow and Activity input and output are quite large for our scenario. With other parameters, we also exchange JSONs that are approximately 60KB. When we tried to execute 1000 concurrent Workflow per second, the Ca…

---

## [How to write Specific DataConverter](https://community.temporal.io/t/how-to-write-specific-dataconverter/2297)

<div class="topic-metadata">

**Author:** [@anil\_kumble](https://community.temporal.io/u/anil_kumble)\
**Replies:** 3\
**Last updated:** [June 3, 2021, 9:09pm UTC](https://community.temporal.io/t/how-to-write-specific-dataconverter/2297 "2021-06-03T21:09:17Z")

</div>

Is it possible to write a specific data converter for few objects? For all other objects, I will use the default converter provided by temporal, for some of the objects I need to write DataConverter. Is it possible?

---

## [Which one is the recommended payload converter?](https://community.temporal.io/t/which-one-is-the-recommended-payload-converter/2279)

<div class="topic-metadata">

**Author:** [@anil\_kumble](https://community.temporal.io/u/anil_kumble)\
**Replies:** 3\
**Last updated:** [May 30, 2021, 5:54pm UTC](https://community.temporal.io/t/which-one-is-the-recommended-payload-converter/2279 "2021-05-30T17:54:59Z")

</div>

There are few PayLoad converters in Temporal. For all type of objects, it is calling JacksonJsonPayloadConverter. whether it is a custom Java object, primitives, or Strings. when GsonJsonPayloadConverter will be called…

---

## [Encoding Data for grpc responde activity](https://community.temporal.io/t/encoding-data-for-grpc-responde-activity/1739)

<div class="topic-metadata">

**Author:** [@josesuero](https://community.temporal.io/u/josesuero)\
**Replies:** 5\
**Last updated:** [March 16, 2021, 6:19pm UTC](https://community.temporal.io/t/encoding-data-for-grpc-responde-activity/1739 "2021-03-16T18:19:00Z")

</div>

I’m building a demo to pitch temporal to my company, this is from nodeJS, I created a grpc client and I’m able to receive tasks and process them, but when sending the reply I can’t figure out the correct encoding. Worke…

---

## [What will be the most straightforward way of dealing payloads with dates in java sdk](https://community.temporal.io/t/what-will-be-the-most-straightforward-way-of-dealing-payloads-with-dates-in-java-sdk/363)

<div class="topic-metadata">

**Author:** [@madhu](https://community.temporal.io/u/madhu)\
**Replies:** 3\
**Last updated:** [August 4, 2020, 5:14pm UTC](https://community.temporal.io/t/what-will-be-the-most-straightforward-way-of-dealing-payloads-with-dates-in-java-sdk/363 "2020-08-04T17:14:06Z")

</div>

Things were not an issue until gson was being used, with jackson (introudced in 26 i guess), many of my request /response models are breaking, especially in date field. One simple thing i can do is convert various date …
