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.6.0.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

thoth_messaging-0.6.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thoth-messaging-0.6.0.tar.gz
  • Upload date:
  • Size: 4.9 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.6.0.tar.gz
Algorithm Hash digest
SHA256 2f180bcf9037db00f988ebf56ac54d70bdcd42d5ba279e784836f2dbc0e39279
MD5 d862458ba55c3935be39b137c0af97ef
BLAKE2b-256 e8802e96c0533e33c5769eec29c22d07d275f490f9adda7783b89d8812edc0fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thoth_messaging-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f653e68675394f3e77c6e90d46ba55b2829703cfef4e5ed5dee08384e8d0449
MD5 706821e57b780529930b586fc096d08a
BLAKE2b-256 d2e619401bea693877298aab83b477eed7143253605c4f0e4a79a1842f9dd9c8

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