Skip to main content

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)

Suggest Edit

Published August 22, 2019 - Updated August 28, 2019

Did you find this content helpful?

Have a question? Get answers now.

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

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

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