diff --git a/app.py b/app.py index 613bdb7..df67dbc 100644 --- a/app.py +++ b/app.py @@ -27,7 +27,7 @@ KNOWNCONSUMER = os.getenv("PRODUCER_KNOWNCONSUMER",'10.69.42.1') if __name__ == "__main__": LOGGER.info("Producer started") - generateduuid = str(uuid) + generateduuid = str(uuid.uuid4()) communicator = Communicator(currentconsumer=KNOWNCONSUMER, uuid=generateduuid) LOGGER.debug(f"My uuid is {generateduuid}") consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)