Optimize documents and logs.

pull/733/head
wangxing 6 years ago
parent de2f3f2131
commit 7073be1186

@ -181,6 +181,16 @@ public class RocketMQMessageChannelBinder extends
}
}
/**
* The abstract binder should not call this method.
* @param destination
* @param producerProperties
* @param errorChannel
* @return
* @throws Exception
* @see RocketMQMessageChannelBinder#createProducerMessageHandler(ProducerDestination,
* ExtendedProducerProperties, MessageChannel, MessageChannel)
*/
@Override
protected MessageHandler createProducerMessageHandler(ProducerDestination destination,
ExtendedProducerProperties<RocketMQProducerProperties> producerProperties,

@ -117,8 +117,8 @@ public class RocketMQMessageHandler extends AbstractMessageHandler implements Li
.fetchPublishMessageQueues(destination);
if (producerProperties.getPartitionCount() != messageQueues.size()) {
logger.info(String.format(
"The partition count will change from '%s' to '%s'",
producerProperties.getPartitionCount(),
"The partition count of topic '%s' will change from '%s' to '%s'",
destination, producerProperties.getPartitionCount(),
messageQueues.size()));
producerProperties.setPartitionCount(messageQueues.size());
partitioningInterceptor

Loading…
Cancel
Save