Metadata-Version: 2.1
Name: thoth-messaging
Version: 0.6.2
Summary: Messaging module of Project Thoth
Home-page: UNKNOWN
Author: Christoph Görn
Author-email: goern@redhat.com
License: GPLv3+
Platform: UNKNOWN
Requires-Dist: faust

Thoth Messaging
---------------

This provides a library called `thoth-messaging
<https://pypi.org/project/thoth-messaging>`_ used in project `Thoth
<https://thoth-station.ninja>`_.  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:

.. code-block:: python

    message_factory(t_name=<str>, message_contents=<Tuple[str, str]>, [num_partitions=<int>], [replication_factor=<int>])

bracketed arguments are optional.


