This commit is contained in:
		
							
								
								
									
										2
									
								
								app.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								app.py
									
									
									
									
									
								
							@@ -27,7 +27,7 @@ KNOWNCONSUMER = os.getenv("PRODUCER_KNOWNCONSUMER",'10.69.42.1')
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if __name__ == "__main__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
    LOGGER.info("Producer started")
 | 
					    LOGGER.info("Producer started")
 | 
				
			||||||
    generateduuid = str(uuid)
 | 
					    generateduuid = str(uuid.uuid4())
 | 
				
			||||||
    communicator = Communicator(currentconsumer=KNOWNCONSUMER, uuid=generateduuid)
 | 
					    communicator = Communicator(currentconsumer=KNOWNCONSUMER, uuid=generateduuid)
 | 
				
			||||||
    LOGGER.debug(f"My uuid is {generateduuid}")
 | 
					    LOGGER.debug(f"My uuid is {generateduuid}")
 | 
				
			||||||
    consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)
 | 
					    consumerlocator = ConsumerLocator(uuid=generateduuid, communicator=communicator)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user