Skip to content

temporalio/samples-ruby

Repository files navigation

Temporal Ruby SDK Samples

This is the set of Ruby samples for the Ruby SDK.

⚠️ UNDER ACTIVE DEVELOPMENT

The Ruby SDK is under active development and has not released a stable version yet. APIs may change in incompatible ways until the SDK is marked stable.

Usage

Prerequisites:

Samples

  • activity_heartbeating - Demonstrate activity heartbeating and proper cancellation handling.
  • activity_simple - Simple workflow that calls two activities.
  • activity_worker - Use Ruby activities from a workflow in another language.
  • client_mtls - Demonstrates how to use mutual TLS (mTLS) authentication with the Temporal Ruby SDK.
  • coinbase_ruby - Demonstrate interoperability with the Coinbase Ruby SDK.
  • context_propagation - Use interceptors to propagate thread/fiber local data from clients through workflows/activities.
  • message_passing_simple - Simple workflow that accepts signals, queries, and updates.
  • polling/infrequent - Implement an infrequent polling mechanism using Temporal's automatic Activity Retry feature.
  • rails_app - Basic Rails API application using Temporal workflows and activities.
  • sorbet_generic - Proof of concept of how to do advanced Sorbet typing with the SDK.
  • worker_specific_task_queues - Use a unique Task Queue for each Worker to run a sequence of Activities on the same Worker.

Development

To check format and test this repository, run:

bundle exec rake

About

Samples showing how to use the official Temporal Ruby SDK

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •