@Override
public void nextTuple() {
Collection<PartitionConsumer> partitionConsumers = coordinator.getPartitionConsumers();
for(PartitionConsumer consumer: partitionConsumers) {
EmitState state = consumer.emit(collector);
LOG.debug("====== partition "+ consumer.getPartition().getPartition() + " emit message state is "+state);
// if(state != EmitState.EMIT_MORE) {
// currentPartitionIndex = (currentPartitionIndex+1) % consumerSize;
// }
// if(state != EmitState.EMIT_NONE) {