All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ynamictp.dynamic-tp-example-adapter-brpc.1.1.0-beta.source-code.application.yml Maven / Gradle / Ivy

There is a newer version: 1.1.9.1-3.x
Show newest version
server:
  port: 9104

spring:
  application:
    name: dynamic-tp-adapter-brpc-demo
  profiles:
    active: dev

  dynamic:
    tp:
      enabled: true
      enabledBanner: true           # 是否开启banner打印,默认true
      enabledCollect: true          # 是否开启监控指标采集,默认false
      collectorTypes: logging       # 监控数据采集器类型(logging | micrometer | internal_logging),默认micrometer
      monitorInterval: 5
      platforms:                    # 通知报警平台配置
        - platform: wechat
          urlKey: 3a7500-1287-4bd-a798-c5c3d8b69c  # 替换
          receivers: test1,test2                   # 接受人企微名称
        - platform: ding
          urlKey: f80dad441fcd655438f4a08dcd6a     # 替换
          secret: SECb5441fa6f375d5b9d21           # 替换,非sign模式可以没有此值
          receivers: 15810119805                   # 钉钉账号手机号
        - platform: lark
          urlKey: 0d944ae7-b24a-40                 # 替换
          receivers: test1,test2                   # 接受人飞书名称/openid
        - platform: email
          receivers: [email protected],[email protected]   # 收件人
      brpcTp:                                      # brpc 线程池配置
        - threadPoolName: rpc#server              # 名称规则:biz_thread_pool_name + "#" + client/server
          corePoolSize: 100
          maximumPoolSize: 200
          keepAliveTime: 60

  # email notify configuration
  mail:
    # (optional) email subject, default:ThreadPool Notify
    title: ThreadPool Notify
    # mail service address
    host: smtp.qq.com
    port: 465
    # send from
    username: [email protected]
    # authorization code eg: rlpadadtcugh4152e
    password: xxxxxxxxxxxxxxxx
    default-encoding: UTF-8
    properties:
      mail:
        smtp:
          socketFactoryClass: javax.net.ssl.SSLSocketFactory
          ssl:
            enable: true
        debug: false

starlight:
  server:
    enable: true
    port: 8777




© 2015 - 2025 Weber Informatics LLC | Privacy Policy