Skip to main content

Messaging module of Project Thoth

Project description

This provides a library called thoth-messaging used in project Thoth. It is a basic module to encapsule all messaging (here it is Kafka via Faust) primitives.

Message Factory

For the purposes of Thoth we have a few of our custom messages defined within the messaging module. However, we wanted to allow individuals to be able to use our module without having to add their own messages first. For testing and development purposes you can use message_factory(…) which allows you to create arbitrary messages using thoth-messaging using the following syntax:

` message_factory(t_name=<str>, message_contents=<dict<str, type>>, [num_partitions=<int>], [replication_factor=<int>]) ` bracketed arguments are optional.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thoth-messaging-0.4.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

thoth_messaging-0.4.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file thoth-messaging-0.4.0.tar.gz.

File metadata

  • Download URL: thoth-messaging-0.4.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for thoth-messaging-0.4.0.tar.gz
Algorithm Hash digest
SHA256 4c35fa4e77bc3bf583ae8f18b5d30a034af11e2cf117ad6ad6e89a8f07e12391
MD5 e3fd4d527a61580c5f98266b82501939
BLAKE2b-256 de4ff551d3adb448fdf92e46972ec82a7d2dc4c33b637233e9407f177e10056e

See more details on using hashes here.

File details

Details for the file thoth_messaging-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: thoth_messaging-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.8

File hashes

Hashes for thoth_messaging-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b225a1f72e5500159457f8cd47443aaf0da9a5720c1a483e04b443efacfa27f
MD5 56eb33b794c8cc0bdda158bc012c83ef
BLAKE2b-256 0153d7df9379b017dcdd3864645919c75f04c4ecd7d63be8a739939403978a06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page