软件包 com.taobao.metamorphosis.client.producer

接口摘要
MessageProducer 消息生产者,线程安全,推荐复用
PartitionSelector 分区选择器
ProducerZooKeeper.BrokerChangeListener When producer broker list is changed, it will notify the this listener.
SendMessageCallback 发送消息的回调
XAMessageProducer 支持XA事务的消息生产者
 

类摘要
AbstractPartitionSelector Abstract partition selector.
ProducerZooKeeper Producer和zk的交互
ProducerZooKeeper.BrokersInfo  
RandomPartitionSelector Random partition selector
RoundRobinPartitionSelector 轮询的分区选择器,默认使用此选择器
SendResult 消息发送结果对象
SimpleMessageProducer 消费生产者实现
SimpleXAMessageProducer XA消息生产者的实现类
 



Copyright © 2010–2013. All rights reserved.