quarkus extension of aliyun log platform
-
1、Introduce maven coordinates
<dependency>
<groupId>org.github.keking</groupId>
<artifactId>quarkus-aliyunlog-ext</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
-
2、Add the following configuration in the application.properties file
quarkus.log.aliyun=false
quarkus.log.aliyun.topic=xx
quarkus.log.aliyun.name=xx
quarkus.log.aliyun.logstore=xx
quarkus.log.aliyun.endpoint=xx
quarkus.log.aliyun.access-key-id= = xx
quarkus.log.aliyun.access-key-secret=xx
quarkus.log.aliyun.user-agent=xx
[lock] Configuration property fixed at build time - All other configuration properties are overridable at runtime
Type |
Default |
|
---|---|---|
是否开启阿里云日志 |
boolean |
|
|
||
string |
||
string |
||
阿里云日志接口 |
string |
|
阿里云日志accessKeyId |
string |
|
阿里云日志accessKeySecret |
string |
|
阿里云日志userAgent |
string |
|
日志的topic |
string |