Big data technology deployment Pulsar broker

Deploy Pulsar broker

1 configure broker

1) Modify the configuration file conf/broker.conf

Ensure zookeeperServers and configurationStoreServers parameters.

zookeeperServers= hadoop101:2181, hadoop102:2181, hadoop103:2181

configurationStoreServers= hadoop101:2181, hadoop102:2181, hadoop103:2181

2) You also need to specify the cluster name (match the name provided when initializing the cluster metadata)

clusterName=pulsar-cluster-1

2 start the broker

1) Start the broker in the foreground:

bin/pulsar broker

2) Start the broker in the background:

bin/pulsar-daemon start broker

Connect to a running cluster

1 modify conf/client.conf

webServiceUrl=http://hadoop101:8080/

brokerServiceurl=pulsar://hadoop101:6650/

Big data training

Guess you like

Origin blog.csdn.net/msjhw_com/article/details/109090958