Added/update docstring
This commit is contained in:
7
app.py
7
app.py
@@ -11,7 +11,7 @@ from consumerlocator import ConsumerLocator
|
||||
from messagesender import MessageSender
|
||||
|
||||
"""
|
||||
Main entrypoint
|
||||
Main entry point, This module builds the producer from the submodules.
|
||||
"""
|
||||
|
||||
__author__ = "@tormakris"
|
||||
@@ -29,6 +29,11 @@ LOGGER = logging.getLogger(__name__)
|
||||
|
||||
KNOWNCONSUMER = os.getenv("PRODUCER_KNOWNCONSUMER",'10.69.42.1')
|
||||
|
||||
"""
|
||||
This is the producers entry point, initializes all the components (:class:'communicator.Communicator',
|
||||
:class:'consumerlocator.ConsumerLocator' and :class:'messagesender.MessageSender') and sends infinite random
|
||||
messages.
|
||||
"""
|
||||
if __name__ == "__main__":
|
||||
LOGGER.info("Producer started")
|
||||
generateduuid = str(uuid.uuid4())
|
||||
|
||||
Reference in New Issue
Block a user