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
Raw Normal View History

2020-03-29 15:24:45 +02:00
#!/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)