temporalio / sdk-java

Temporal Java SDK
https://temporal.io
Apache License 2.0
200 stars 134 forks source link

Ignore history events with worker_may_ignore: true. #2000

Closed chronos-tachyon closed 4 months ago

chronos-tachyon commented 4 months ago

What was changed

Why?

The new worker_may_ignore flag is intended to mark events that can be handled as no-ops if the SDK doesn't know the event type.

Checklist

  1. Closes https://github.com/temporalio/sdk-java/issues/1945

  2. How was this tested: added new unit tests to verify the new behavior before implementing it.