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=<Tuple[str, str]>, [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.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

thoth_messaging-0.6.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thoth-messaging-0.6.2.tar.gz
  • Upload date:
  • Size: 5.2 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.2.tar.gz
Algorithm Hash digest
SHA256 a02c8c84d81a6dafdf073131ec126f9d23a21aab18df4e26a6acdd5d510b1015
MD5 56e0ad490a2f11e9c37d0a7ea5de679e
BLAKE2b-256 1f89ee25bfa663d9d65646cbe797ff5f32b190c4dade86e4b2d168ab5de190a8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thoth_messaging-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 13.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d9f2f4f0e60ba92a7974c12bc4d6ab90028ca0fadbee4c6b020aace9553b01db
MD5 d0adb4ca570857281b8e7604b41d2278
BLAKE2b-256 820faaab059fa25047aae1bee3c85d47b7af8d94eb45cd13a703324e5a5699ab

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