Question
Capgemini
NO
Last activity: 2 Jan 2024 4:21 EST
Kafka implementation in Queue Processor and Job Scheduler
Team,
I have following questions on Queue Processor [QP] and Job scheduler[JS] based on how Kafka is being leveraged.
1. I can understand that Pega creates a Kafka topic for each QP we created. Each topic has 6 partitions[before v8.7 it was 20] and it is configurable. Can I know how the maximum thread allowed per cluster is still 20? How each thread is mapped internally to partitions? I thought that any threads more than partition size would be idle only.
Reference :
"Queues are multi-threading and shared across all nodes. Each queue processor can process messages across six partitions so that queue processor rules can support up to 20 separate processing threads simultaneously without conflict." https://academy.pega.com/topic/queue-processor-and-job-scheduler/v2 https://docs-previous.pega.com/decision-management/87/changing-default-number-partitions-topic#section_d2t_kjc_gsb
2. When using external kafka service, Do we have to create topic and map to queue processors's data set manually?
3. I see from the document that Job Scheduler uses Kafka. Can someone share how JS uses Kafka internally? How JS can able to run when stream nodes are unavailable if uses kafka ?
Team,
I have following questions on Queue Processor [QP] and Job scheduler[JS] based on how Kafka is being leveraged.
1. I can understand that Pega creates a Kafka topic for each QP we created. Each topic has 6 partitions[before v8.7 it was 20] and it is configurable. Can I know how the maximum thread allowed per cluster is still 20? How each thread is mapped internally to partitions? I thought that any threads more than partition size would be idle only.
Reference :
"Queues are multi-threading and shared across all nodes. Each queue processor can process messages across six partitions so that queue processor rules can support up to 20 separate processing threads simultaneously without conflict." https://academy.pega.com/topic/queue-processor-and-job-scheduler/v2 https://docs-previous.pega.com/decision-management/87/changing-default-number-partitions-topic#section_d2t_kjc_gsb
2. When using external kafka service, Do we have to create topic and map to queue processors's data set manually?
3. I see from the document that Job Scheduler uses Kafka. Can someone share how JS uses Kafka internally? How JS can able to run when stream nodes are unavailable if uses kafka ?
Thanks !