Package com.taobao.metamorphosis.client.producer

Examples of com.taobao.metamorphosis.client.producer.PartitionSelector



    @Test
    public void testTxConsumeRollback() throws Exception {
        try {
            this.producer = this.sessionFactory.createProducer(new PartitionSelector() {

                public Partition getPartition(final String topic, final List<Partition> partitions,
                        final Message message) throws MetaClientException {
                    return partitions.get(0);
                }
View Full Code Here

TOP

Related Classes of com.taobao.metamorphosis.client.producer.PartitionSelector

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.