Pulsar manager backend is a supplement and improvement to Pulsar broker.
Name | Default | Description |
---|---|---|
server.port | 7750 | Port of backend service |
pulsar-manager.account | pulsar | Login account |
pulsar-manager.password | pulsar | Login password |
redirect.host | localhost | IP address of front-end service |
redirect.port | 9627 | Port of front-end service |
insert.stats.interval | 30000ms | Time interval for collecting statistical information |
clear.stats.interval | 300000ms | Time interval for cleaning statistics |
java -jar ./build/libs/pulsar-manager.jar --redirect.host=http://localhost --redirect.port=9527 insert.stats.interval=600000
If you have a large amount of data, you can use a custom database. The following is an example of MySQL.
Initialize database and table structures using file.
Modify the configuration file and add MySQL configuration
spring.datasource.driver-class-name=com.mysql.jdbc.Driver spring.datasource.url=jdbc:mysql://ip:port/pulsar_manager?useSSL=false spring.datasource.username=username spring.datasource.password=password spring.datasource.max-idle=10 spring.datasource.max-wait=10000 spring.datasource.min-idle=5 spring.datasource.initial-size=5
./gradlew -x build -x test