Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Examples

This repository contains examples for using the Tilebox Go library.

Environment variables

To run the examples, TILEBOX_API_KEY environment variable needs to be set to your Tilebox API key. Head over to Tilebox Console if you don't have one already.

Running the examples

Each example can be run using the following command:

go run ./examples/<example-folder>

For example, to run the workflows/helloworld example:

go run ./examples/workflows/helloworld

Workflow examples submit a job first, then start a task runner in the same process.

Workflows examples

  • Hello world: How to submit a task and run it.
  • MapReduce: How to fan out tasks and submit dependent reduce tasks.
  • Progress: How to report workflow progress.
  • Protobuf tasks: How to use Protobuf tasks.
  • Observability: How to query Tilebox workflow telemetry and export traces/logs to custom Axiom or OpenTelemetry backends.

Datasets examples