Question
American Express
IN
Last activity: 29 Dec 2023 21:21 EST
Queue Processor- Partitions Understanding
Hi Team,
As per my understanding, whenever we create a Queue Processor, system will create 6 partitions (recent version) for that particular Queue Processor.
Consider I have a single node and single thread.
Now, I'm calling my QP activity for 10 times parallely. So it will create 6 messages in 6 partitions at starting, what will happen to remaining 4 messages?
When it gets added to Partitions and will it be stored anywhere before pushing it to any of the Partitions?
Also requesting to give relation on the Node type and Number of threads mentioned in the Queue Processor against the Stream Node (Kafka processing)?
Please correct me if I'm wrong.
@Vigneshk2107
For your configuration 6 partition and one consumer(thread) is created to process the message.
if you are using queue for processing with queue immediately - all the ten messages will pushed to Kafka topic,
pega default using round robin algorithm to queue the messages in topic, so all your four message in some partition. (surf more about partition round robin algorithm to understand)