This documentation is for WSO2 Stream Processor 4.1.0. View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following ports are common to all runtimes:.

To offset the default port modify the following configuration in the deploymentyaml :''
7611Thrift TCP port to receive events from clients.databridge.config:
dataReceivers:
-
dataReceiver:
type: Thrift
properties:
tcpPort: '7611'
sslPort:
77117711

Thrift SSL port for secure transport , where the client is authenticated.

9611Binary TCP port to receive events from clientsTo offset the default port modify the following configuration in the deployment.yaml :
databridge.config:
dataReceivers:
-
dataReceiver:
type: Binary
properties:
tcpPort: '9611'
sslPort: '9711'
9711

Binary SSL port for secure transport, where the client is authenticated

.
9711

Binary SSL port for secure transport where the client is authenticated.

You can offset binary and thrift by configuring the offset parameter in the <SP_HOME>/conf/<PROFILE>/deployment.yaml file. The following is a sample configuration.

Code Block
languagexml
# Carbon Configuration Parameters
wso2.carbon:
  # value to uniquely identify a server
  id: wso2-sp
  # server name
  name: WSO2 Stream Processor
  # server type
  # type: wso2-sp
  # ports used by this server
  ports:
    # port offset
    offset: 1


Worker Runtime
Anchor
Worker Runtime
Worker Runtime

...

9390HTTP netty transport
9743HTTPS netty transport
To
Info
titleNote
Tip

The following example shows how to overide the default netty port , modify the following properties in the deployment.yaml file (example given for editor runtime):for the Editor profile by updating the required parameters in the <SP_HOME>/conf/editor/deployment.yaml file.

Code Block
languagexml
wso2.transport.http:


 transportProperties:


  listenerConfigurations:


 -


      id: "default"


 port: 9390


    -


      id: "msf4j-https"


 port: 9743



Clustering Ports
Anchor
Clustering Ports
Clustering Ports

Ports which that are required for clustering deployment:

...

Manager Node:
9190HTTP netty transport.
9190For Specify the port of the node for the  httpInterface  parameter in the  cluster.config  section, specify the port of the node. (default value taken as http . The HTTP netty transport port )is considered the default port for HTTP interface.
9543HTTPS netty transport.
9092The Kafka Server bootstrapURLs Port, . This is the default port where the external kafka server start starts and the manager communicatecommunicates.
2181Zookeeper Server zooKeeperURLs Port, . This is the default port where the external zookeeper server start starts and the manager communicatecommunicates.
Worker Node(Resource Node):
9090HTTP netty transport.
9090For Specify the port of the node for the  httpInterface  parameter in the  cluster.config  section, specify the port of the node. (default value taken as http . The HTTP netty transport port )is considered the default port for HTTP interface.
9191For the resourceManagers paramter in the  cluster.config  section, specify the port of the recouse manager. (default value taken as http Specify the port of the resource manager for the resourceManagers parameter in the cluster.config section. The netty transport port of the manager node )is considered the default port.
9443HTTPS netty transport.
Minimum High Availability (HA) Deployment:
Worker Node:
9090HTTP netty transport.
9090For the advertisedPort parameter in the  liveSync  section, specify Specify the port of the node . (default value taken as http for the advertisedPort parameter in the liveSync section. The HTTP netty transport port )is considered the default port.
9443HTTPS netty transport.
Multi Datacenter High Availability Deployment

Other than the ports use used in clustering setupsetups (i.e., a Minimum HA Deployment or a Fully Distributed Deployment), the following is required:

9092Ports of the two separate instances of the broker deployed in each data center. (ex: e.g., bootstrap.servers= 'host1:9092, host2:9092', default 9092 where the external kafka servers start )