Example project for Temporal microservice orchestarion.

Overview

Temporal Microservice

Introduction

This project is created to understand Temporal's Microservice approachment. The repo contains:

  • Example Temporal Microservice (Launch Microservice)
  • Deployment files of Microservice
  • API Gateway for triggering or sending a signal to Workflows. (Endpoint would be gRPC or Rest)

Temporal flow implementation

Package Name Description
App It contains defitinition of Workflow
Server API gateway to interact with temporal workflows which is contains GET, CREATE, DELETE, UPDATE Methods
Worker Microservice which is reponsible for run Workflows Actions

Endpoints

Endpoints Method Description
/ GET List of launch workflows
/ POST Create a predefined launch
/launch/{workflowId}/{runId} DELETE Delete a launch
/launch/{workflowId}/{runId} UPDATE Update a launch without paramater(Only for testing endpoint
/launch/{workflowId}/{runId} GET Get a launch properties. (Only state you could get from this endpoint)

Run

Firstly you should set Temporal server ip as a environment variable.

export TEMPORAL_SERVER_IP=<TEMPORAL IP>

After that you should start API Gateway Server and Temporal worker with the following command

go run server/main.go
go run worker/main.go

API Gateway will serve from port 5000.

Owner
Engin Sefa Güngör
Working as a full-stack developer. Mostly focused on infrastructure.
Engin Sefa Güngör
Small proof of concept project to try temporal.io with Dispatch Incident Management from Netflix.

temporal-dispatch-poc Small POC project to try out the Temporal workflow engine together with Netflix's Dispatch Incident Management System. Supported

Jørgen 1 Nov 12, 2021
An experimental distribution of Temporal that runs as a single process

Temporalite ⚠️ This project is experimental and not suitable for production use. ⚠️ Temporalite is a distribution of Temporal that runs as a single pr

Datadog, Inc. 260 Jul 2, 2022
Temporal Server docker-compose files

Temporal Server docker-compose files This repository provides docker-compose fil

Adeyemi Ademola 0 Dec 24, 2021
The temporal cloud cli.

tcld (Beta) A cli tool for managing Temporal Cloud namespaces. This cli tool is currently in beta and access to Temporal Cloud via the cli is restrict

temporal.io 16 May 18, 2022
A project that provides an in-memory key-value store as a REST API. Also, it's containerized and can be used as a microservice.

Easy to Use In-Memory Key-Value Store A project that provides an in-memory key-value store as a REST API. Also, it's containerized and can be used as

Baran Sekin 6 Mar 6, 2022
This example implements a basic example of how to create your own modules, and how to call them from other modules

This example implements a basic example of how to create your own modules, and how to call them from other modules. In addition, an example of how to do unit tests is developed.

null 1 Feb 1, 2022
Example programs for the Gio project.

Gio Examples Example programs for the Gio project. Issues File bugs and TODOs through the issue tracker or send an email to ~eliasnaur/[email protected]

Gio 68 Jun 29, 2022
This is an example of the cobra project

Devops cmd and mian.go This is an example of the cobra project Execute the following command in the current path to compile the project,you will appea

flyone 5 Oct 14, 2021
Experimental code execution microservice based on Docker containers.

ranna ランナー - Experimental code runner microservice based on Docker containers. ⚠ PLEASE READ BEFORE USE First of all, this project is currently work i

ranna 20 Jun 28, 2022
Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

The Moby Project Moby is an open-source project created by Docker to enable and accelerate software containerization. It provides a "Lego set" of tool

Moby 63.4k Jul 4, 2022
Placeholder for the future project (lets-go-chat)Placeholder for the future project (lets-go-chat)

Placeholder for the future project (lets-go-chat)Placeholder for the future project (lets-go-chat)

null 0 Jan 10, 2022
An example client implementation written in GO to access the CyberVox platform API

About This is an example client implementation written in GO to access the CyberVox platform API.

Cyberlabs AI 16 May 11, 2021
Example blog built with Go and the Cosmic Headless CMS 🔥

Go + Cosmic This repo contains an example blog starter that is built with Go, and Cosmic. See live demo hosted on Heroku Prerequisites Go (I recommend

Cosmic 7 May 8, 2022
this is an example of hystrix-go usage in web dev

hystrix-go-example this is an example of hystrix-go usage in web dev Explanation this example contains 2 service: alpha as our main service, circuit b

Vembry 2 Apr 22, 2022
Concurrency Lab 2 Go Example

Concurrency Lab 2 If you're stuck look at examples on Go by Example Using the lab sheet There are two ways to use the lab sheet, you can either: creat

null 0 Oct 12, 2021
Concurrency Lab 1 Go Example

Concurrency Lab 1 If you're stuck look at examples on Go by Example Using the lab sheet There are two ways to use the lab sheet, you can either: creat

null 0 Oct 11, 2021
An example event-driven application using Atmo and NATS

Atmo + NATS Example Project This repo is an example of using Atmo with NATS as a streaming messaging layer. In this example, Atmo connects to NATS and

Connor Hicks 2 Oct 27, 2021
Minimal example app of hexagonal architecture in go

Hexagonal Architecture Minimal example of hexagonal architecture (ports & adapters) in go. Resources T

Rodrigo Gamba 0 Nov 5, 2021
Example app using labstack/echo and ozzo-validator.

Example app using labstack/echo and ozzo-validator.

mattn 6 Feb 18, 2022