| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # |
| |
| spring.cloud.refresh.refreshable=none |
| server.port=7750 |
| |
| # configuration log |
| logging.path= |
| logging.file=pulsar-manager.log |
| |
| # DEBUG print execute sql |
| logging.level.io.streamnative=DEBUG |
| |
| mybatis.type-aliases-package=io.streamnative.pulsar.manager |
| |
| # database connection |
| |
| # SQLLite |
| #spring.datasource.driver-class-name=org.sqlite.JDBC |
| #spring.datasource.url=jdbc:sqlite:pulsar_manager.db |
| #spring.datasource.initialization-mode=always |
| #spring.datasource.schema=classpath:/META-INF/sql/sqlite-schema.sql |
| #spring.datasource.username= |
| #spring.datasource.password= |
| |
| # HerdDB JDBC Driver |
| spring.datasource.driver-class-name=herddb.jdbc.Driver |
| HerdDB - local in memory-only (check docs for starting an embedded server or embedded replicated server) |
| spring.datasource.url=jdbc:herddb:server:localhost:7000?server.base.dir=. |
| spring.datasource.schema=classpath:/META-INF/sql/herddb-schema.sql |
| spring.datasource.username=sa |
| spring.datasource.password=hdb |
| spring.datasource.initialization-mode=always |
| |
| # postgresql configuration |
| #spring.datasource.driver-class-name=org.postgresql.Driver |
| #spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/pulsar_manager |
| #spring.datasource.username=postgres |
| #spring.datasource.password=postgres |
| |
| # zuul config |
| zuul.routes.admin.path=/admin/** |
| zuul.routes.admin.url=http://localhost:8080/admin/ |
| zuul.routes.lookup.path=/lookup/** |
| zuul.routes.lookup.url=http://localhost:8080/lookup/ |
| |
| # pagehelper plugin |
| #pagehelper.helperDialect=sqlite |
| # force 'mysql' for HerdDB |
| pagehelper.helperDialect=mysql |
| |
| backend.directRequestBroker=true |
| backend.directRequestHost=http://localhost:8080 |
| |
| jwt.secret=dab1c8ba-b01b-11e9-b384-186590e06885 |
| jwt.sessionTime=2592000 |
| pulsar-manager.account=pulsar |
| pulsar-manager.password=pulsar |
| |
| # bookie |
| bookie.host=http://localhost:8050 |
| bookie.enable=false |
| |
| redirect.host=localhost |
| redirect.port=9527 |
| |
| # Stats interval |
| # millisecond |
| insert.stats.interval=30000 |
| # millisecond |
| clear.stats.interval=300000 |
| init.delay.interval=0 |
| |
| # cluster data reload |
| cluster.cache.reload.interval.ms=60000 |