def METHOD_NAME(client):
    retain = random.choice(booleans)
    qos = random.choice(qos_values)
    topic = "outgoing/%d/message" % (random.uniform(1, 1000))
    payload = "message"
    client.publish(topic, payload, qos, retain)
    next_publish_time = time.time() + random.uniform(0.1, 2.0)