temporalio / temporalio/sdk-java

Signal w/ Start API Improvements - Java

Open
#2,213 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
433
Forks
249
Avg merge
5d 6h
Merged PRs (30d)
26

Description

Is your feature request related to a problem? Please describe.
BatchRequest is hard to use, i.e. it has some affordances that would be illegal.

  • First item must be the workflow start
  • Second must be signal
    We've never added support for other operations to it, such as Update, which means it might mislead people into thinking it could be used for an Update.

Describe the solution you'd like
Suggest deprecating it and replacing it with something

  • easier to use
  • more consistent with updateWithStart.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the BatchRequest usage in core/src/main/java/io/temporal/samples/moneybatch/TransferRequester.java and compare it with the existing updateWithStart API. Clarify the replacement API's allowed operations, deprecation scope, and expected behavior before implementation; done means the design resolves the stated ordering constraints and covers Update consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.