Skip to main content

Kafka-Temporal Mapper Client

Kafka-Temporal mapper client facilitates the interaction between the workflows and the Kafka-Temporal mapper server. This library is used by the workflows and provides methods for publishing of the workflow and mapping events.

The client provides two methods:

  • subscribe: used to subscribe a workflow to the execution of another workflow.
  • notify: used by a workflow to notify the termination of its execution.

Installation

pip install kafka_temporal_mapper_client

Usage

To use this library for notifying or subscribing:

from kafka_temporal_mapper.client import KafkaTemporalClient

ktc = KafkaTemporalClient()

# subscribe workflow B to workflow A using a part of A's results as argument (@b.c)
ktc.subscribe('WorkflowB', [{'name':'WorkflowA', 'args': {"a":"hello", "b":"@b.c"}}]) 

# notify workflow A execution and its results
ktc.notify('WorkflowA', {"a":"hello", "b": {"c": "world"}})

Metadata

Release files for kafka-temporal-mapper-client 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kafka-temporal-mapper-client 0.1.1
File Size Uploaded
kafka_temporal_mapper_client-0.1.1.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kafka-temporal-mapper-client 0.1.1
File Interpreter ABI Platform
kafka_temporal_mapper_client-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.2 kB

Release files / kafka_temporal_mapper_client-0.1.1.tar.gz

Download URL kafka_temporal_mapper_client-0.1.1.tar.gz
Size 16.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7da24cb0aba1af636ce3dfe60a34e8d3942c82f10adfc71ead8d109af348a09c
BLAKE2b-256 checksum
How to use checksums
92c5d53f7740eef0b8acabfcbf3d0b6c6ee171a8cdbaf6c59dc7a35949f46bb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.10 Linux/5.14.0-1054-oem

Release files / kafka_temporal_mapper_client-0.1.1-py3-none-any.whl

Download URL kafka_temporal_mapper_client-0.1.1-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ded108009756ffad5d4762ed74278a43542ac9cb6bb9fd37cabd626bca5ede9b
BLAKE2b-256 checksum
How to use checksums
1c72630802be3d1f631a6e6484e3f351a71a323ad299846401cf57db6b2a4e1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.8.10 Linux/5.14.0-1054-oem

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page