Support Questions
Find answers, ask questions, and share your expertise

Setting Batch Size for NiFi JMS Consumer.

Hello Community members,

I have a requirement to read messages from JMS MQ and publish to Azure eventhub(similar to Kafka) using NiFi, one of the requirement is to maintain message order in eventhub same as message order in JMS Queue . In order to achive this, we are thinking to run single instance of NiFi JMS consumer and EventHub with single Partition .

We have observed that single instance of NiFi JMS consumer is not performing well enough to cope-up with message volumes, so we are thinking to increase batch size for NiFi JMS consumer but didn't see a property within JMS consumer processor to increase batch size .

Can someone please let us know how to set batchsize for NiFi JMS Consumer and any other options in JMSConsumer processor to increase through put .

Thanks,

Vinay.