# \#kotlin

**URL:** https://community.temporal.io/tag/kotlin/81.md

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

---

## [numHistoryShards recommendation for Cassandra](https://community.temporal.io/t/numhistoryshards-recommendation-for-cassandra/19800)

<div class="topic-metadata">

**Author:** [@parul\_rawat](https://community.temporal.io/u/parul_rawat)\
**Replies:** 1\
**Last updated:** [September 19, 2026, 3:59pm UTC](https://community.temporal.io/t/numhistoryshards-recommendation-for-cassandra/19800 "2026-09-19T15:59:01Z")

</div>

Hi all, Can anyone help us come up with a calculated number of numHistoryShards setting in Temporal which is immutable? For total 3 workflows: Our Temporal TPS: 30/s Our TPS is low but our waits schedules are high W…

---

## [Calling Kotlin suspending methods in Temporal Workflow or Activities](https://community.temporal.io/t/calling-kotlin-suspending-methods-in-temporal-workflow-or-activities/16267)

<div class="topic-metadata">

**Author:** [@Palleas](https://community.temporal.io/u/Palleas)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 5:59pm UTC](https://community.temporal.io/t/calling-kotlin-suspending-methods-in-temporal-workflow-or-activities/16267 "2025-01-28T17:59:25Z")

</div>

Hello there - I’m looking into temporal to implement something quite simple: Every day or so, query an API to retrieve a list of result For each result, start a new “update” workflow This update workflow might also be …

---

## [Throwing exception in mocked activity hangs the test](https://community.temporal.io/t/throwing-exception-in-mocked-activity-hangs-the-test/10932)

<div class="topic-metadata">

**Author:** [@yunmanger](https://community.temporal.io/u/yunmanger)\
**Replies:** 7\
**Last updated:** [May 15, 2024, 10:17am UTC](https://community.temporal.io/t/throwing-exception-in-mocked-activity-hangs-the-test/10932 "2024-05-15T10:17:13Z")

</div>

I can’t figure out what I am doing wrong. My tests work fine when mocking happy path, but when throwing an error on a mocked activity the test hangs indefinitely. I tried different combinations of retry configurations, a…

---

## [signalWithStart weird behaviour](https://community.temporal.io/t/signalwithstart-weird-behaviour/9881)

<div class="topic-metadata">

**Author:** [@mpnikhil](https://community.temporal.io/u/mpnikhil)\
**Replies:** 23\
**Last updated:** [October 23, 2023, 6:53pm UTC](https://community.temporal.io/t/signalwithstart-weird-behaviour/9881 "2023-10-23T18:53:49Z")

</div>

Hi folks, Trying to implement the following pattern with the help of signalWithStart. If a workflow with a given ID exists, signal will enqueue the next token to be processed for a given ID in a queue. Workflow method …

---

## [Cross region data migration through Temporal](https://community.temporal.io/t/cross-region-data-migration-through-temporal/9185)

<div class="topic-metadata">

**Author:** [@flavo](https://community.temporal.io/u/flavo)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 5:27pm UTC](https://community.temporal.io/t/cross-region-data-migration-through-temporal/9185 "2023-08-15T17:27:29Z")

</div>

I am trying to do a cross region data migration using Temporal as a middleman. My goal is to start a parent workflow in one region, then initiate a child workflow that runs a query on that region’s DB and batch returns t…

---

## [Expose workflow condition properties](https://community.temporal.io/t/expose-workflow-condition-properties/6504)

<div class="topic-metadata">

**Author:** [@maikdrop](https://community.temporal.io/u/maikdrop)\
**Replies:** 6\
**Last updated:** [November 17, 2022, 3:32pm UTC](https://community.temporal.io/t/expose-workflow-condition-properties/6504 "2022-11-17T15:32:58Z")

</div>

Hi guys, my question is related to a general architectural view. We have conditions in our workflow implementation class in order to control the workflow. How can I expose this condition in order to request the status v…

---

## [Exception handling due to Workflow await](https://community.temporal.io/t/exception-handling-due-to-workflow-await/6245)

<div class="topic-metadata">

**Author:** [@maikdrop](https://community.temporal.io/u/maikdrop)\
**Replies:** 17\
**Last updated:** [October 20, 2022, 3:12pm UTC](https://community.temporal.io/t/exception-handling-due-to-workflow-await/6245 "2022-10-20T15:12:32Z")

</div>

Hi guys, we have observed following behaviours when the workflow is in the await status, that means when Workflow.await is called with a time out variable. 1.) On the one hand we have an exception when the time out is …

---

## [Kotlin Create Cancellation Scope](https://community.temporal.io/t/kotlin-create-cancellation-scope/6114)

<div class="topic-metadata">

**Author:** [@maikdrop](https://community.temporal.io/u/maikdrop)\
**Replies:** 2\
**Last updated:** [October 2, 2022, 3:35pm UTC](https://community.temporal.io/t/kotlin-create-cancellation-scope/6114 "2022-10-02T15:35:39Z")

</div>

Hi guys, Maybe a stupid question, I try to create a cancellation scope in Kotlin and I cannot ged rid of the error: Overload resolution ambiguity. All these functions match. public open fun newCancellationScope(proc:…

---

## [Temporal and non-blocking JVM code](https://community.temporal.io/t/temporal-and-non-blocking-jvm-code/1240)

<div class="topic-metadata">

**Author:** [@GreyTeardrop](https://community.temporal.io/u/GreyTeardrop)\
**Replies:** 6\
**Last updated:** [December 26, 2020, 9:51pm UTC](https://community.temporal.io/t/temporal-and-non-blocking-jvm-code/1240 "2020-12-26T21:51:05Z")

</div>

Hi Temporal team! Temporal seems to perfectly match some of the use cases my team has and we’re looking forward to trying it in one of our projects. I have some questions I’d like to clarify before we dive in. Our back…

---

## [Hi Deserialization problem](https://community.temporal.io/t/hi-deserialization-problem/474)

<div class="topic-metadata">

**Author:** [@shawel\_negussie](https://community.temporal.io/u/shawel_negussie)\
**Replies:** 15\
**Last updated:** [August 20, 2020, 5:52pm UTC](https://community.temporal.io/t/hi-deserialization-problem/474 "2020-08-20T17:52:11Z")

</div>

Hi, I am using using temporal.io Java SDK with Kotlin. I switched from cadence to Temporal which required me to upgrade Jackson. After upgrade I am noticing deserialization errors with classes. I had to add dummy constr…
