Comments (7)
Hi everyone Iβve implemented Scala SDK, which supports most temporal features.
https://github.com/vitaliihonta/zio-temporal
It also allows using protobuf format via ScalaPB.
Currently, itβs tied to ZIO
from sdk-java.
Would love the additional support for Scala π it could potentially unlock some interesting use-cases if I can pitch Temporal to my team
from sdk-java.
Hello!
Just wondering about the progress with scala-sdk for Temporal? Any updates?
from sdk-java.
Not really using cadence in my current projects, but I'm still keeping an eye on this as this is a project which I really like and which I will happily include in any project that suits it. So if somebody takes over, has a plan/architecture and leads this, I will happily contribute with pieces of code.
from sdk-java.
Hey, we have some experience in using cadence with scala and can contribute our experiences and maybe even some code.
Reg 2) Serialization is a tough topic, in general, typeclass-based serialization is more idiomatic and safer in modern scala. But this would be something to have in scala native sdk and so is out of the scope of this issue probably.
1 & 3 are already solved in scala 2.12 and later -> https://www.scala-lang.org/news/2.12.0/#lambda-syntax-for-sam-types
2 & 5 as proposed are not possible without adding scala stdlib as a dependency of java sdk, which doesn't sound plausible. Whereas 2) Is quite hard, the 5) is easily solved by https://github.com/scala/scala-java8-compat#converters-between-scalaconcurrentdurationfiniteduration-and-javatimeduration
from sdk-java.
Hi. Really interested in helping this move forward by creating an integration. Is there a guide I can use to start making the integration possible?
from sdk-java.
I got bit by a problem with the reflection logic that attempts to determine whether Async.function
is being passed a method reference in MethodReferenceDisassembler#isAsyncJava
. Turns out that a method reference in Scala has a different result from getImplMethodKind
. It returns MethodHandleInfo.REF_invokeStatic
instead of MethodHandleInfo.REF_invokeInterface
. We had to invoke this through a small java shim to get it to function correctly and not execute directly on the local workflow executor.
I think ztemporal may have the same problem. It also appears to me to call Async.function
passing a Scala lambda expression.
from sdk-java.
Related Issues (20)
- MDC custom naming convention
- Test server sometimes fails to include signal in first WFT
- NoClassDefFoundError: com/google/protobuf/GeneratedMessageV3 | Spring 3.3.1 HOT 4
- Add option to configure the deadline of `ChannelManager#getServerCapabilities` HOT 6
- Support "query" when listing schedules
- Test server should treat update/poll-update as long-poll HOT 1
- Better toString representations on service stub options
- Revisit local activity backpressure logic w/ no-max slot suppliers
- Generated Google proto classes are part of generated service client classes
- Support schedule search attribute update
- WorkflowTask failure because of an invalid state transition in LocalActivity state machine
- CI: Get rid of buildjet-2vcpu-ubuntu-1804 GHA runners
- Child workflow cancellation can trigger SDK event loop without a WFT Started
- Enable Nexus test server docker functional tests once 1.25 is released
- Workflow-init support HOT 1
- Include Package Version Information in manifest HOT 4
- Carry over search attributes on continue-as-new if none are explicitly specified
- Interceptor Configurations - exclusions based on workflow/activity type and task queue HOT 1
- Workflow.newExternalWorkflowStub HOT 4
- Type safe async update API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdk-java.