Project: springxd
Issue XD-3697: Output modules cannot use minPartitionCount when sending to named channels
If the output module is connected to a named channel, cannot be set up the property minPartitionCount, it is giving an exception. Streams: stream create f --definition "queue:foo > transform --expression=payload+'-foo' | log" stream create b --definition "queue:bar > transform --expression=payload+'-bar' | log" stream deploy --name f --properties "module.transform.count=2" stream deploy --name b --properties "module.transform.count=2" stream create r --definition "time | router --expression=payload.contains('10')?'queue:foo':'queue:bar'" stream deploy --name r --properties "module.router.producer.minPartitionCount=20" The error is: Caused by: java.lang.IllegalArgumentException: KafkaMessageBus does not support producer property: minPartitionCount for queue:bar. at org.springframework.xd.dirt.integration.bus.MessageBusSupport.validateProperties(MessageBusSupport.java:781) ~[spring-xd-messagebus-spi-1.2.1.RELEASE.jar:1.2.1.RELEASE]
Story points: 1