Package com.taobao.metamorphosis.client.extension.producer

Examples of com.taobao.metamorphosis.client.extension.producer.OrderedMessagePartitionSelector


    private final static String testTopic = "topic1";


    @Before
    public void setUp() {
        this.selector = new OrderedMessagePartitionSelector() {
            @Override
            protected Partition choosePartition(String topic, List<Partition> partitions, Message message) {
                return new Partition("0-0");
            }
        };
View Full Code Here

TOP

Related Classes of com.taobao.metamorphosis.client.extension.producer.OrderedMessagePartitionSelector

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.