package me.chyxion.tigon.redis.pub;

/**
 * @version 0.0.1
 * @since 0.0.1
 * @author Shaun Chyxion <br>
 * chyxion@163.com <br>
 * Nov 7, 2015 5:32:36 PM
 */
public interface PubProducer {
    String PUB_QUEUE_SUFFIX = "_QUEUE";
    String MESSAGE_CHANEL = "__PUBLICATION__";

    /**
     * @param topic topic
     * @param message message
     */
    void publish(String topic, Object message);
}
