| # |
| # Licensed to the Apache Software Foundation (ASF) under one |
| # or more contributor license agreements. See the NOTICE file |
| # distributed with this work for additional information |
| # regarding copyright ownership. The ASF licenses this file |
| # to you 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. |
| # |
| # datasource config |
| # datasource config, set org.postgresql.Driver if using PostgreSQL |
| spring.datasource.druid.driver-class-name=com.mysql.cj.jdbc.Driver |
| spring.datasource.druid.url=jdbc:mysql://127.0.0.1:3306/apache_inlong_audit?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2b8&rewriteBatchedStatements=true&allowMultiQueries=true&zeroDateTimeBehavior=CONVERT_TO_NULL&allowPublicKeyRetrieval=true |
| spring.datasource.druid.username=root |
| spring.datasource.druid.password=inlong |
| spring.datasource.druid.filters=stat,log4j,config |
| spring.datasource.druid.max-active=100 |
| spring.datasource.druid.initial-size=1 |
| spring.datasource.druid.max-wait=60000 |
| spring.datasource.druid.min-idle=1 |
| spring.datasource.druid.time-between-eviction-runs-millis=60000 |
| spring.datasource.druid.min-evictable-idle-time-millis=300000 |
| spring.datasource.druid.validation-query=select 'x' |
| spring.datasource.druid.test-while-idle=true |
| spring.datasource.druid.test-on-borrow=false |
| spring.datasource.druid.test-on-return=false |
| spring.datasource.druid.pool-prepared-statements=true |
| spring.datasource.druid.filter.wall.config.multi-statement-allow=true |
| spring.datasource.druid.max-open-prepared-statements=50 |
| spring.datasource.druid.max-pool-prepared-statement-per-connection-size=20 |
| |
| # mybatis config |
| mybatis.mapper-locations=classpath*:mapper/*.xml |
| mybatis.type-aliases-package=org.apache.inlong.audit.db.entities |
| |
| # proxy.type: pulsar / tube / kafka |
| audit.config.proxy.type=pulsar |
| |
| # store.server: mysql / clickhouse / elasticsearch |
| audit.config.store.mode=mysql |
| |
| # manger config |
| manager.hosts=127.0.0.1:8083 |
| proxy.cluster.tag=default_cluster |
| |
| # pulsar config |
| audit.pulsar.topic=persistent://public/default/inlong-audit |
| audit.pulsar.consumer.sub.name=inlong-audit-subscription |
| audit.pulsar.token= |
| audit.pulsar.enable.auth=false |
| |
| # tube config |
| audit.tube.topic=inlong-audit |
| audit.tube.consumer.group.name=inlong-audit-consumer |
| |
| # kafka config |
| audit.kafka.topic=inlong-audit |
| audit.kafka.consumer.name=inlong-audit-consumer |
| audit.kafka.group.id=audit-consumer-group |
| |
| # es config |
| elasticsearch.host=127.0.0.1 |
| elasticsearch.port=9200 |
| elasticsearch.authEnable=false |
| elasticsearch.username=elastic |
| elasticsearch.password=inlong |
| elasticsearch.shardsNum=5 |
| elasticsearch.replicaNum=1 |
| elasticsearch.indexDeleteDay=5 |
| elasticsearch.enableDocId=true |
| elasticsearch.bulkInterval=10 |
| elasticsearch.bulkThreshold=5000 |
| elasticsearch.auditIdSet=1,2 |
| |
| # clickhouse config |
| clickhouse.driver=ru.yandex.clickhouse.ClickHouseDriver |
| clickhouse.url=jdbc:clickhouse://127.0.0.1:8123/apache_inlong_audit |
| clickhouse.username=default |
| clickhouse.password=default |
| clickhouse.batchIntervalMs=1000 |
| clickhouse.batchThreshold=500 |
| clickhouse.processIntervalMs=100 |
| |