Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Stream Service in the cluster does not work



The Stream service in the Admin Studio does not work. The startup logs contain an error which states that a port is already in use.

Error Messages

[StreamServer.Default] [STANDARD] [ ] [ ] (rvice.operation.StartOperation) ERROR - Cannot start service [StreamServer.Default]
com.pega.dsm.dnode.api.StreamServiceException: Unable to start Kafka broker. Last state was: NotConnected
Error: Exception thrown by the agent : java.rmi.server.ExportException: Port already in use: 9999; nested exception is: Address already in use

Steps to Reproduce


Root Cause

A defect or configuration issue in the operating environment.

The Stream service by default must use the following ports:
  • 9092
  • 2181 
  • 9999 
  • 7003
The ports must be customized if they are already in use by some other process.


Perform the following local-change if the ports are already in use by another process or stream node:

Adjust the ports using the below prconfig settings,

<env name="dsm/services/stream/pyBrokerPort" value="xxxx" />  (default 9092)
<env name="dsm/services/stream/pyKeeperPort" value="xxxx" />  (default 2181)
<env name="dsm/services/stream/pyJmxPort" value="xxxx" />   ( default 9999)
<env name="dsm/services/stream/pyPort" value="xxxx" /> (default 7003)

Published December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us