Question

Error: Stream service is not running in the cluster.

In our cloud development environment, we notice the error "Error: Stream service is not running in the cluster. in Admin Studio under "System & Nodes".

What wrong configuration is causing this error?

Correct Answer
August 13, 2019 - 2:22pm

What version?

For the Queue Processor to work in the cluster, it requires 3 node types (BackgroundProcessing, Search, and Stream), you do not have that here.

Maybe you should try Universal instead (-DNodeType=Universal) ? This specifies that the node is assigned all node types. Or else add more nodes until you meet the 3 required types

Comments

Keep up to date on this post and subscribe to comments

August 12, 2019 - 4:51pm

Is this pegacloud or your own on-prem cloud? In any case, you need to start a stream node (-DNodeType=Stream), which is required for pega 8.x.

August 12, 2019 - 4:57pm
Response to KevinZheng_GCS

We have 2 webnodes and we are not using any streaming services. Still do we need a streaming node?

August 12, 2019 - 5:13pm
Response to KevinZheng_GCS

Kevin,

 

Even after adding a stream node, application is still showing the same error.

 

August 12, 2019 - 6:05pm
Response to RajaniKanth

Hello,

1. It is not recommended to disable Stream nodes.
Disabling of Stream nodes can be done by selecting a different node type but it will break existing queue processors (It mean losing the ability to use FTS etc.)
the links below should give You further details to understand the topic:
https://community.pega.com/sites/default/files/help_v81/procomhelpmain.htm#rule-/rule-async-/rule-async-queueprocessor/main.htm
https://community.pega.com/knowledgebase/queue-processor-faq
https://community.pega.com/knowledgebase/articles/kafka-streaming-service
https://community.pega.com/knowledgebase/articles/stream-service-overview
https://community.pega.com/sites/default/files/help_v74/procomhelpmain.htm#dsm/tasks/dsm-node-configuring-stream-service-tsk.htm
https://community.pega.com/sites/default/files/help_v74/procomhelpmain.htm#dsm/references/dsm-stream-service-node-overview-ref.htm

2. Stream node is required to run queue processor (QP) since Pega 8.
OOTB we ship 3 QPR (pyProcessNotification, pzStandardProcessor and pyFTSIncrementalIndexer).
These are fundamental for Platform's correct functioning. without a stream node, they can't be executed

So, in single-node environment, You can omit the nodetype (or run with universal nodeType). In a multi node, You need at least one Stream node.

You can verify if it's working properly by going to Configure ==> Decisioning ==> Infrastructure 

Then click on stream and be sure one node is active there.

Once it's ok, go to Data Flow ( still under infrastructure ) and verify that you have one node for BackgroundProcessing and Search 

After that it should be good.

Loïc

Pega
August 13, 2019 - 2:22pm
Response to RajaniKanth

What version?

For the Queue Processor to work in the cluster, it requires 3 node types (BackgroundProcessing, Search, and Stream), you do not have that here.

Maybe you should try Universal instead (-DNodeType=Universal) ? This specifies that the node is assigned all node types. Or else add more nodes until you meet the 3 required types

August 14, 2019 - 3:18am
Response to Philip_S

That's right, I forgot to mention that thise types are required.
Good article on that subject https://community.pega.com/knowledgebase/articles/node-classification-0

Another thing that could be considered if you deploy on your own cloud, is to use work done by pega to deploy on kubernetes with preconfigured helm chart https://community.pega.com/knowledgebase/how-pega-platform-and-applications-are-deployed-kubernetes

August 14, 2019 - 7:30am
Response to Philip_S

Thank you. It worked after setting up 3 kinds of nodes.