This repository has been archived on 2020-09-24. You can view files and clone it, but cannot push or open issues or pull requests.
producer/MessageSender.py

19 lines
321 B
Python

#!/usr/bin/env python
import sentry_sdk
import json
import random
class MessageSender:
data = {
"packet name" : "name",
"data" : random.randrange(100000)
}
message = json.dumps(data)
if __name__ == "__main__":
print("Producer")
message = MessageSender()
print(message.message)