Springboot application可以配置的選項(中文版)

以下是Springboot的全部配置項,需要配置哪些們可以根據自己需求來定

 

 

#================================================= ================= 
#普通彈簧啓動特性
##
本示例文件僅供參考。請勿將其
全部
複製到您自己的應用程序中。^^^ #============================================== =====================


#---------------------------------------- 
#核心屬性
#----- -----------------------------------

#BANNER 
banner.charset = UTF-8 #橫幅文件編碼。
banner.location = classpath:banner.txt #橫幅文件的位置。
banner.image.location = classpath:banner.gif #橫幅圖片文件的位置(也可以使用jpg / png)。
banner.image.width = #橫幅圖像的寬度(以字符爲單位)(默認爲76)
banner.image.height = #橫幅圖像的高度(以字符爲單位)(默認基於圖像高度)
banner.image.margin = #左側圖像邊距以字符爲單位(默認爲2)
banner.image.invert = #如果圖像應針對深色終端主題而反轉(默認爲false)

#LOGGING 
logging.config = #日誌記錄配置文件的位置。例如用於logback logging的`classpath:logback.xml`。exception 
-conversion-word =%wEx #記錄異常時使用的轉換字。
logging.file = #日誌文件名。例如`myapp.log` 
logging.level。* = #日誌級別嚴重性映射。例如`logging.level.org.springframework = DEBUG` 
logging.path = #日誌文件的位置。例如`/ var / log` 
logging.pattern.console = #輸出到控制檯的Appender模式。僅默認登錄設置支持。
logging.pattern.file =#輸出到文件的附加模式。僅默認登錄設置支持。
logging.pattern.level = #日誌級別的附加模式(默認爲%5p)。僅默認登錄設置支持。
logging.register-shutdown-hook = false #初始化日誌系統時註冊一個關閉鉤子。

#AOP 
spring.aop.auto =真#添加@EnableAspectJAutoProxy。
spring.aop.proxy-target-class = #是否要創建基於子類(CGLIB)的代理(真),而不是標準基於Java接口的代理(假)。使用Spring Transaction Management時默認爲“ true”,否則爲“ false”。

#IDENTITY (ContextIdApplicationContextInitializer)
 spring.application.index = #應用程序索引。
spring.application.name = #應用程序名稱。

#ADMIN (SpringApplicationAdminJmxAutoConfiguration)
 spring.application.admin.enabled = false #啓用應用程序的管理功能。
spring.application.admin.jmx-name = org.springframework.boot:type = Admin,name = SpringApplication #應用程序管理MBean的JMX名稱。

#AUTO-CONFIGURATION 
spring.autoconfigure.exclude = #要排除的自動配置類。


#SPRING CORE spring.beaninfo.ignore = true #跳過對BeanInfo類的搜索。

#SPRING CACHE(CacheProperties)
 spring.cache.cache-names = #如果基礎緩存管理器支持,
則以逗號分隔的要創建的緩存名稱列表。spring.cache.caffeine.spec = #用於創建緩存的規範。檢查CaffeineSpec以獲取有關規範格式的更多詳細信息。
spring.cache.couchbase.expiration = 0 #條目過期時間(以毫秒爲單位)。默認情況下,條目永不過期。
spring.cache.ehcache.config = #用於初始化EhCache的配置文件的位置。
spring.cache.guava.spec = #用於創建緩存的規範。檢查CacheBuilderSpec以獲取有關規範格式的更多詳細信息。
spring.cache.infinispan.config = #用於初始化Infinispan的配置文件的位置。
spring.cache.jcache.config = #用於初始化緩存管理器的配置文件的位置。
spring.cache.jcache.provider = #CachingProvider實現的完全限定名稱,用於檢索符合JSR-107的緩存管理器。僅當類路徑上有多個JSR-107實現可用時才需要。
spring.cache.type = #緩存類型,默認情況下根據環境自動檢測。

#SPRING CONFIG- 僅使用環境屬性(ConfigFileApplicationListener)
 spring.config.location = #配置文件的位置。
spring.config.name =應用程序#配置文件名。

#HAZELCAST(HazelcastProperties)
 spring.hazelcast.config = #用於初始化Hazelcast的配置文件的位置。

#項目信息(ProjectInfoProperties)
 spring.info.build.location = classpath:META-INF / build-info.properties #生成的build-info.properties文件的位置。
spring.info.git.location =類路徑:git.properties 生成的git.properties文件#所在。

#JMX 
spring.jmx.default域 = #JMX域名。
spring.jmx.enabled = true #將管理bean公開到JMX域。
spring.jmx.server = mbeanServer #MBeanServer Bean名稱。

#電子郵件(MailProperties)
 spring.mail.default-encoding = UTF-8 #默認的MimeMessage編碼。
spring.mail.host = #SMTP服務器主機。例如`smtp.example.com` 
spring.mail.jndi-name = #會話JNDI名稱。設置後,優先於其他郵件設置。
spring.mail.password = #SMTP服務器的登錄密碼。
spring.mail.port = #SMTP服務器端口。
spring.mail.properties。* = #其他JavaMail會話屬性。
spring.mail.protocol = smtp #SMTP服務器使用的協議。
spring.mail.test-connection = false#測試郵件服務器在啓動時可用。
spring.mail.username = #SMTP服務器的登錄用戶。

#應用程序設置(SpringApplication)
 spring.main.banner-mode = console #用於在應用程序運行時顯示橫幅的模式。
spring.main.sources = #包含在ApplicationContext中的源(類名,包名或XML資源位置)。
spring.main.web-environment = #在Web環境中運行應用程序(默認情況下自動檢測到)。

#FILE ENCODING(FileEncodingApplicationListener)
 spring.mandatory-file-encoding = #應用程序必須使用的預期字符編碼。

#INTERNATIONALIZATION (MessageSourceAutoConfiguration)
 spring.messages.always-use-message-format = false #設置是否始終應用MessageFormat規則,甚至解析不帶參數的消息。
spring.messages.basename = messages #逗號分隔的基本名稱列表,每個基本名稱遵循ResourceBundle約定。
spring.messages.cache-seconds = -1 #加載的資源包文件緩存過期時間(以秒爲單位)。設置爲-1時,將永久緩存分發包。
spring.messages.encoding = UTF-8 #消息束編碼。
spring.messages.fallback-to-system-locale = true#設置如果未找到特定語言環境的文件,是否回退到系統語言環境。

#OUTPUT 
spring.output.ansi.enabled =檢測#配置ANSI輸出。

#PID FILE(ApplicationPidFileWriter)
 spring.pid.fail-on-write-error = #如果使用了ApplicationPidFileWriter,則失敗,但無法寫入PID文件。
spring.pid.file = #要寫入的PID文件的位置(如果使用了ApplicationPidFileWriter)。

#PROFILES 
spring.profiles.active = (如果使用YAML或列表)的#逗號分隔列表活性譜。
spring.profiles.include = #無條件激活指定的逗號分隔配置文件(如果使用YAML,則激活配置文件列表)。

#SENDGRID(SendGridAutoConfiguration)
 spring.sendgrid.api-key = #SendGrid api密鑰(替代用戶名/密碼)。
spring.sendgrid.username = #SendGrid帳戶的用戶名。
spring.sendgrid.password = #SendGrid帳戶密碼。
spring.sendgrid.proxy.host = #SendGrid代理主機。
spring.sendgrid.proxy.port = #SendGrid代理端口。


#---------------------------------------- 
#Web屬性
#----- -----------------------------------

#嵌入式服務器配置(ServerProperties)
 server.address = #服務器應綁定到的網絡地址。
server.compression.enabled = false #如果啓用了響應壓縮。
server.compression.excluded-user-agents = #要從壓縮中排除的用戶代理列表。
server.compression.mime-types = text / html,text / xml,text / plain,text / css,text / javascript,application / javascript #逗號壓縮的MIME類型列表。
server.compression.min-response-size = 2048 #進行壓縮所需的最小響應大小。
server.connection-timeout =#連接器在關閉連接之前將等待另一個HTTP請求的時間(以毫秒爲單位)。未設置時,將使用連接器特定於容器的默認值。使用值-1表示無(即無限)超時。
server.context-parameters。* = #Servlet上下文初始化參數。例如,server.context-parameters.a = alpha 
server.context-path = #應用程序的上下文路徑。
server.display-name = application #顯示
應用程序的名稱。server.max-http-header-size = 0 #HTTP消息頭的最大大小(以字節爲單位)。
server.error.include-stacktrace = never #何時包括“ stacktrace”屬性。
server.error.path = / error #錯誤控制器的路徑。
server.error.whitelabel.enabled = true #啓用服務器錯誤時在瀏覽器中顯示的默認錯誤頁面。
server.jetty.acceptors = #要使用的接收器線程數。
server.jetty.max-http-post-size = 0 #HTTP發佈或放置內容的最大大小(以字節爲單位)。
server.jetty.selectors = #要使用的選擇器線程數。
server.jsp-servlet.class-name = org.apache.jasper.servlet.JspServlet #JSP Servlet的類名。
server.jsp-servlet.init-parameters。* = #用於配置JSP servlet的初始化參數
server.jsp-servlet.registered = true #是否已註冊JSP servlet 
server.port = 8080 #服務器HTTP端口。
server.server-header = #用於服務器響應頭的值(如果爲空則不發送頭)
server.servlet-path = / #主調度程序servlet的路徑。
server.use-forward-headers = #是否應將X-Forwarded- *標頭應用於HttpRequest。
server.session.cookie.comment = #會話cookie的註釋。
server.session.cookie.domain = #會話cookie的域。
server.session.cookie.http-only =#會話cookie的“ HttpOnly”標誌。
server.session.cookie.max-age = #會話cookie的最大
期限,以秒爲單位。server.session.cookie.name = #會話cookie名稱。
server.session.cookie.path = #會話cookie的路徑。
server.session.cookie.secure = #會話cookie的“安全”標誌。
server.session.persistent = false #在兩次重啓之間保持會話數據。
server.session.store-dir = #用於存儲會話數據的目錄。
server.session.timeout = #會話超時(以秒爲單位)。
server.session.tracking-modes =#會話跟蹤模式(以下一種或多種:“ cookie”,“ url”,“ ssl”)。
server.ssl.ciphers = #支持的SSL密碼。
server.ssl.client-auth = #是否需要客戶端認證(“ want”)或需要客戶端認證(“ need”)。需要一個信任庫。
server.ssl.enabled = #啓用SSL支持。
server.ssl.enabled-protocols = #啓用的SSL協議。
server.ssl.key-alias = #別名,用於標識密鑰庫中的密鑰。
server.ssl.key-password = #用於訪問密鑰庫中密鑰的密碼。
server.ssl.key-store =#存放SSL證書(通常是jks文件)的密鑰庫的路徑。
server.ssl.key-store-password = #用於訪問密鑰庫的密碼。
server.ssl.key-store-provider = #密鑰庫的提供程序。
server.ssl.key-store-type = #密鑰庫的類型。
server.ssl.protocol = TLS #要使用的SSL協議。
server.ssl.trust-store = #持有SSL證書的信任庫。
server.ssl.trust-store-password = #用於訪問信任庫的密碼。
server.ssl.trust-store-provider = #信任庫的提供者。
server.ssl.trust-store-type =#信任庫的類型。
server.tomcat.accept-count = #使用所有可能的請求處理線程時,傳入連接請求的最大隊列長度。
server.tomcat.accesslog.buffered = true #緩衝輸出,使其僅定期刷新。
server.tomcat.accesslog.directory = logs #在其中創建日誌文件的目錄。可以相對於tomcat基本目錄或絕對目錄。
server.tomcat.accesslog.enabled = false #啓用訪問日誌。
server.tomcat.accesslog.file-date-format = .yyyy-MM-dd #放置在日誌文件名中的日期格式。
server.tomcat.accesslog.pattern =常見#訪問日誌的格式。
server.tomcat.accesslog.prefix = access_log #日誌文件名前綴。
server.tomcat.accesslog.rename-on-rotate = false #推遲在文件名中包含日期戳,直到旋轉時間爲止。
server.tomcat.accesslog.request-attributes-enabled = false #設置請求屬性,用於請求的IP地址,主機名,協議和端口。
server.tomcat.accesslog.rotate = true #啓用訪問日誌循環。
server.tomcat.accesslog.suffix = .log #日誌文件名後綴。
server.tomcat.additional-tld-skip-patterns =#逗號分隔的與jar匹配的其他模式列表,可忽略這些模式以進行TLD掃描。
server.tomcat.background-processor-delay = 30 #調用backgroundProcess方法之間的延遲(以秒爲單位)。
server.tomcat.basedir = #Tomcat基本目錄。如果未指定,將使用一個臨時目錄。
server.tomcat.internal-proxies = 10 \\。\\ d {1,3} \\。\\ d {1,3} \\。\\ d {1,3} | \\
        192 \\。168 \\。\\ d {1,3} \\。\\ d {1,3} | \\
        169 \\。254 \\ .. \\ d {1,3} \\。\\ d {1,3} | \\
        127 \\。\\ d {1,3} \\。\\ d {1,3} \\。\\ d {1,3} | \\
        172 \\。1 [6-9] {1} \\。\\ d {1,3} \\。\\ d {1,3} | \\
        172 \\。2 [0-9] {1} \\。\\ d {1,3} \\。\\ d {1,3} | \\
        172 \\。3 [0-1] {1} \\。\\ d {1,3} \\。\\ d {1,3} #匹配受信任IP地址的正則表達式。
server.tomcat.max-connections = #服務器在任何給定時間接受和處理的最大連接數。
server.tomcat.max-http-post-size = 0 #HTTP發佈內容的最大大小(以字節爲單位)。
server.tomcat.max-threads = 0 #工作線程的最大數量。
server.tomcat.min-spare-threads = 0 #輔助線程的最小數量。
server.tomcat.port-header = X-Forwarded-Port #用於替換原始端口值的HTTP標頭的名稱。
server.tomcat.protocol-header =#包含傳入協議的標頭,通常稱爲“ X-Forwarded-Proto”。
server.tomcat.protocol-header-https-value = https #協議報頭的值,指示傳入的請求使用SSL。
server.tomcat.redirect-context-root = #是否應通過在路徑後附加/來重定向對上下文根的請求。
server.tomcat.remote-ip-header = #從中提取遠程ip的http標頭的名稱。例如,“ X-FORWARDED-FOR” 
server.tomcat.uri-encoding = UTF-8 #用於解碼URI的字符編碼。
server.undertow.accesslog.dir = #Undertow訪問日誌目錄。
server.undertow.accesslog.enabled= false #啓用訪問日誌。
server.undertow.accesslog.pattern = common #訪問日誌的格式模式。
server.undertow.accesslog.prefix = access_log。#日誌文件名前綴。
server.undertow.accesslog.rotate = true #啓用訪問日誌
循環。server.undertow.accesslog.suffix = log #日誌文件名後綴。
server.undertow.buffer-size = #每個緩衝區的大小(以字節爲單位)。
server.undertow.direct-buffers = #在Java堆之外分配緩衝區。
server.undertow.io-threads = #爲工作線程創建的I / O線程數。
server.undertow.max-http-post-size= 0 #HTTP帖子內容的最大大小(以字節爲單位)。
server.undertow.worker-threads = #工作線程數。

#FREEMARKER(FreeMarkerAutoConfiguration)
 spring.freemarker.allow-request-override = false #設置是否允許HttpServletRequest屬性重寫(隱藏)控制器生成的同名模型屬性。
spring.freemarker.allow-session-override = false #設置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.freemarker.cache = false #啓用模板緩存。
spring.freemarker.charset = UTF-8 #模板編碼。
spring.freemarker.check-template-location = true #檢查模板位置是否存在。
spring.freemarker.content-type =文本/ html #Content-Type值。
spring.freemarker.enabled = true #啓用此技術的MVC視圖分辨率。
spring.freemarker.expose-request-attributes = false #設置在與模板合併之前是否應將所有請求屬性添加到模型。
spring.freemarker.expose-session-attributes = false #設置在與模板合併之前是否應將所有HttpSession屬性添加到模型中。
spring.freemarker.expose-spring-macro-helpers = true #設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲“ springMacroRequestContext”。
spring.freemarker.prefer-file-system-access = true #首選文件系統訪問來加載模板。通過文件系統訪問,可以熱檢測模板更改。
spring.freemarker.prefix = #前綴,用於在構建URL時查看名稱。
spring.freemarker.request-context-attribute = #所有視圖的
RequestContext屬性的名稱。spring.freemarker.settings。* = #衆所周知的FreeMarker密鑰,這些密鑰將傳遞到FreeMarker的配置中。
spring.freemarker.suffix = .ftl #構建URL時,後綴將附加到視圖名稱中。
spring.freemarker.template-loader-path = classpath:/模板/#逗號分隔的模板路徑列表。
spring.freemarker.view-names = #可以解析的視圖名稱的白名單。

#GROOVY TEMPLATES(GroovyTemplateAutoConfiguration)
 spring.groovy.template.allow-request-override = false #設置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的相同名稱的模型屬性。
spring.groovy.template.allow-session-override = false #設置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.cache = #啓用模板緩存。
spring.groovy.template.charset = UTF-8 #模板編碼。
spring.groovy.template.check-template-location = true #檢查模板位置是否存在。
spring.groovy.template.configuration。* = #參見GroovyMarkupConfigurer 
spring.groovy.template.content-type = test / html #Content-Type值。
spring.groovy.template.enabled = true #爲該技術啓用MVC視圖分辨率。
spring.groovy.template.expose-request-attributes = false #設置在與模板合併之前是否應將所有請求屬性添加到模型。
spring.groovy.template.expose-session-attributes = false #設置在與模板合併之前是否應將所有HttpSession屬性添加到模型中。
spring.groovy.template.expose-spring-macro-helpers = true#設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲“ springMacroRequestContext”。
spring.groovy.template.prefix = #在構建URL時會被前綴爲查看名稱的前綴。
spring.groovy.template.request-context-attribute = #所有視圖的
RequestContext屬性的名稱。spring.groovy.template.resource-loader-path = classpath:/ templates / #模板路徑。
spring.groovy.template.suffix = .tpl #在構建URL時添加到視圖名稱的後綴。
spring.groovy.template.view-names = #可以解析的視圖名稱的白名單。

#SPRING HATEOAS(HateoasProperties)
 spring.hateoas.use-hal-as-default-json-media-type = true #指定是否應將application / hal + json響應發送給接受application / json的請求。


#HTTP 消息轉換spring.http.converters.preferred-json-mapper = jackson #用於HTTP消息轉換的首選JSON映射器。設置爲“ gson”以在Gson和Jackson都在類路徑上時強制使用Gson。

#HTTP 編碼(HttpEncodingProperties)
 spring.http.encoding.charset = UTF-8 #HTTP請求和響應的字符集。如果未明確設置,則添加到“ Content-Type”標題中。
spring.http.encoding.enabled = true #啓用http編碼支持。
spring.http.encoding.force = #強制對HTTP請求和響應上的已配置字符集進行編碼。
spring.http.encoding.force-request = #強制對HTTP請求上的已配置字符集進行編碼。如果未指定“力”,則默認爲true。
spring.http.encoding.force-response = #強制對HTTP響應上的已配置字符集進行編碼。
spring.http.encoding.mapping = #語言環境到編碼的映射。

#MULTIPART (MultipartProperties)
 spring.http.multipart.enabled = true #啓用對
分段上傳的支持。spring.http.multipart.file-size-threshold = 0 #閾值,之後將文件寫入磁盤。值可以使用後綴“ MB”或“ KB”表示兆字節或千字節大小。
spring.http.multipart.location = #上載文件的中間位置。
spring.http.multipart.max-file-size = 1MB #最大文件大小。值可以使用後綴“ MB”或“ KB”表示兆字節或千字節大小。
spring.http.multipart.max-request-size = 10MB#最大請求大小。值可以使用後綴“ MB”或“ KB”表示兆字節或千字節大小。
spring.http.multipart.resolve-lazily = false #是否在文件或參數訪問時延遲解決多部分請求。

#JACKSON (JacksonProperties)
 spring.jackson.date-format = #日期格式字符串或標準日期格式類名稱。例如`yyyy-MM-dd HH:mm:ss`。
spring.jackson.default-property-inclusion = #控制序列化過程中屬性的包含。
spring.jackson.deserialization。* = #影響Java對象反序列化方式的Jackson開關功能。
spring.jackson.generator。* = #發電機的Jackson開/關功能。
spring.jackson.joda-date-time-format = #Joda日期時間格式字符串。如果未配置,則“ date-format”如果配置了格式字符串,將用作後備。
spring.jackson.locale = #用於格式化的語言環境。
spring.jackson.mapper。* = #Jackson通用開/關功能。
spring.jackson.parser。* = #解析器的Jackson開/關功能。
spring.jackson.property-naming-strategy = #傑克遜PropertyNamingStrategy的常量之一。也可以是PropertyNamingStrategy子類的標準類名。
spring.jackson.serialization。* = #影響Java對象序列化方式的Jackson開關功能。
spring.jackson.time-zone = #格式化日期時使用的時區。例如`America / Los_Angeles`

#JERSEY (JerseyProperties)
 spring.jersey.application-path = #用作應用程序基本URI的路徑。如果指定,則覆蓋“ @ApplicationPath”的值。
spring.jersey.filter.order = 0 #球衣過濾鏈的順序。
spring.jersey.init。* = #通過servlet或過濾器傳遞給Jersey的初始化參數。
spring.jersey.servlet.load-on-startup = -1 #加載Jersey servlet的啓動優先級。
spring.jersey.type = servlet #球衣集成類型。

#SPRING LDAP(LdapProperties)
 spring.ldap.urls = #服務器的LDAP URL。
spring.ldap.base = #所有操作應從其開始的基本後綴。
spring.ldap.username = #服務器的登錄用戶。
spring.ldap.password = #服務器的登錄密碼。
spring.ldap.base-environment。* = #LDAP規範設置。

#EMBEDDED LDAP(EmbeddedLdapProperties)
 spring.ldap.embedded.base-dn = #基本DN 
spring.ldap.embedded.credential.username = #嵌入式LDAP用戶名。
spring.ldap.embedded.credential.password = #嵌入式LDAP密碼。
spring.ldap.embedded.ldif = classpath:schema.ldif #架構(LDIF)腳本資源參考。
spring.ldap.embedded.port = #嵌入式LDAP端口。
spring.ldap.embedded.validation.enabled = true #啓用LDAP模式驗證。
spring.ldap.embedded.validation.schema = #定製模式的路徑。

#SPRING MOBILE DEVICE VIEWS(DeviceDelegatingViewResolverAutoConfiguration)
 spring.mobile.devicedelegatingviewresolver.enable-fallback = false #啓用對後備分辨率的支持。
spring.mobile.devicedelegatingviewresolver.enabled = false #啓用設備視圖解析器。
spring.mobile.devicedelegatingviewresolver.mobile-prefix = mobile / #前綴爲可查看移動設備名稱的前綴。
spring.mobile.devicedelegatingviewresolver.mobile-suffix = #後綴被添加到移動設備的視圖名稱中。
spring.mobile.devicedelegatingviewresolver.normal-prefix =#前綴,用來查看普通設備的名稱。
spring.mobile.devicedelegatingviewresolver.normal-suffix = #後綴被添加到普通設備的視圖名稱中。
spring.mobile.devicedelegatingviewresolver.tablet-prefix = tablet / #前綴爲可查看平板電腦設備名稱的前綴。
spring.mobile.devicedelegatingviewresolver.tablet-suffix = #後綴添加到平板電腦設備的視圖名稱中。

#SPRING MOBILE SITE PREFERENCE(SitePreferenceAutoConfiguration)
 spring.mobile.sitepreference.enabled = true #啓用SitePreferenceHandler。

#MUSTACHE TEMPLATES(MustacheAutoConfiguration)
 spring.mustache.allow-request-override = #設置是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.mustache.allow-session-override = #設置是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.mustache.cache = #啓用模板緩存。
spring.mustache.charset = #模板編碼。
spring.mustache.check-template-location = #檢查模板位置是否存在。
spring.mustache.content-type =#Content-Type值。
spring.mustache.enabled = #啓用此技術的MVC視圖分辨率。
spring.mustache.expose-request-attributes = #設置在與模板合併之前是否應將所有請求屬性添加到模型中。
spring.mustache.expose-session-attributes = #設置在與模板合併之前是否應將所有HttpSession屬性添加到模型中。
spring.mustache.expose-spring-macro-helpers = #設置是否公開一個RequestContext供Spring的宏庫使用,名稱爲“ springMacroRequestContext”。
spring.mustache.prefix = classpath:/ templates / #適用於模板名稱的前綴。
spring.mustache.request-context-attribute = #所有視圖的
RequestContext屬性的名稱。spring.mustache.suffix = .html #後綴適用於模板名稱。
spring.mustache.view-names = #可以解析的視圖名稱的白名單。

#SPRING MVC(WebMvcProperties)
 spring.mvc.async.request-timeout = #異步請求處理超時之前的時間(以毫秒爲單位)。
spring.mvc.date-format = #要使用的日期格式。例如`dd / MM / yyyy`。
spring.mvc.dispatch-trace-request = false #將TRACE請求分派到FrameworkServlet doService方法。
spring.mvc.dispatch-options-request = true #將OPTIONS請求分配給FrameworkServlet doService方法。
spring.mvc.favicon.enabled = true #啓用favicon.ico的解析。
spring.mvc.formcontent.putfilter.enabled = true#啓用Spring的HttpPutFormContentFilter。
spring.mvc.ignore-default-model-on-redirect = true #在重定向方案中是否應忽略“默認”模型的內容。
spring.mvc.locale = #要使用的語言環境。默認情況下,此語言環境被“ Accept-Language”標頭覆蓋。
spring.mvc.locale-resolver = accept-header #定義如何解析語言環境。
spring.mvc.log-resolved-exception = false #啓用警告記錄由“ HandlerExceptionResolver”解決的異常。
spring.mvc.media-types。* = #將文件擴展名映射到媒體類型以進行內容協商。
spring.mvc.message-codes-resolver-format =#消息代碼的格式化策略。例如“ PREFIX_ERROR_CODE”。
spring.mvc.servlet.load-on-startup = -1 #加載Spring Web Services servlet的啓動優先級。
spring.mvc.static-path-pattern = / ** #用於靜態資源的路徑模式。
spring.mvc.throw-exception-if-no-handler-found = false #如果未找到任何處理請求的處理程序,則應拋出“ NoHandlerFoundException”。
spring.mvc.view.prefix = #Spring MVC視圖前綴。
spring.mvc.view.suffix = #Spring MVC視圖後綴。

#春季資源處理(ResourceProperties)
 spring.resources.add-mappings = true #啓用默認資源處理。
spring.resources.cache-period = #資源處理程序服務的資源的緩存週期,以秒爲單位。
spring.resources.chain.cache = true #在資源鏈中啓用緩存。
spring.resources.chain.enabled = #啓用Spring資源處理鏈。默認情況下禁用,除非已啓用至少一種策略。
spring.resources.chain.gzipped = false #啓用已經壓縮的資源的解析。
spring.resources.chain.html-application-cache = false#啓用HTML5應用程序緩存清單重寫。
spring.resources.chain.strategy.content.enabled = false #啓用內容版本策略。
spring.resources.chain.strategy.content.paths = / ** #逗號分隔的模式列表,適用於版本策略。
spring.resources.chain.strategy.fixed.enabled = false #啓用固定的版本策略。
spring.resources.chain.strategy.fixed.paths = / ** #逗號分隔的模式列表,適用於版本策略。
spring.resources.chain.strategy.fixed.version = #用於版本策略的版本字符串。
spring.resources.static-locations= classpath:/ META-INF / resources /,classpath:/ resources /,classpath:/ static /,classpath:/ public / #靜態資源的位置。

#SPRING SESSION(SessionProperties)
 spring.session.hazelcast.flush-mode = on-save #會話刷新模式。
spring.session.hazelcast.map-name = spring:session:sessions #用於存儲會話的地圖名稱。
spring.session.jdbc.initializer.enabled = #必要時在啓動時創建所需的會話表。如果設置了默認表名或配置了自定義架構,則自動啓用。
spring.session.jdbc.schema = classpath:org / springframework / session / jdbc / schema- @ @ platform @ @ .sql #用於初始化數據庫模式的SQL文件的路徑。
spring.session.jdbc.table-name= SPRING_SESSION #用於存儲會話的數據庫表的名稱。
spring.session.mongo.collection-name =會話數#用於存儲會話的集合名稱。
spring.session.redis.flush-mode = on-save #會話刷新模式。
spring.session.redis.namespace = #用於存儲會話的鍵的命名空間。
spring.session.store-type = #會話存儲類型。

#SPRING SOCIAL(SocialWebAutoConfiguration)
 spring.social.auto-connection-views = false #爲支持的提供程序啓用連接狀態視圖。

#SPRING SOCIAL FACEBOOK(FacebookAutoConfiguration)
 spring.social.facebook.app-id = #您的應用程序的Facebook App ID 
spring.social.facebook.app-secret = #您的應用程序的Facebook App Secret

#SPRING SOCIAL LINKEDIN(LinkedInAutoConfiguration)
 spring.social.linkedin.app-id = #您的應用程序的LinkedIn應用程序ID 
spring.social.linkedin.app-secret = #您的應用程序的LinkedIn應用程序密碼

#SPRING SOCIAL TWITTER(TwitterAutoConfiguration)
 spring.social.twitter.app-id = #您的應用程序的Twitter App ID 
spring.social.twitter.app-secret = #您的應用程序的Twitter App Secret

#THYMELEAF(ThymeleafAutoConfiguration)
 spring.thymeleaf.cache = true #啓用模板緩存。
spring.thymeleaf.check-template = true #渲染前檢查模板是否存在。
spring.thymeleaf.check-template-location = true #檢查模板位置是否存在。
spring.thymeleaf.content-type = text / html #Content-Type值。
spring.thymeleaf.enabled = true #啓用MVC Thymeleaf視圖分辨率。
spring.thymeleaf.encoding = UTF-8 #模板編碼。
spring.thymeleaf.excluded-view-names =#逗號分隔的視圖名稱列表,應從解析中排除。
spring.thymeleaf.mode = HTML5 #應用於模板的模板模式。另請參見StandardTemplateModeHandlers。
spring.thymeleaf.prefix = classpath:/ templates / #前綴,用於在構建URL時查看名稱。
spring.thymeleaf.suffix = .html #構建URL時後綴添加到視圖名稱。
spring.thymeleaf.template-resolver-order = #模板解析器在鏈中的順序。
spring.thymeleaf.view-names = #可以解決的視圖名稱的逗號分隔列表。

#春季Web服務(WebServicesProperties)
 spring.webservices.path = / services #用作服務基本URI的路徑。
spring.webservices.servlet.init = #Servlet初始化參數傳遞給Spring Web Services。
spring.webservices.servlet.load-on-startup = -1 #加載Spring Web Services servlet的啓動優先級。



#---------------------------------------- 
#安全屬性
#----- ----------------------------------- 
#安全(SecurityProperties)
 security.basic.authorize-mode =角色#安全授權模式適用。
security.basic.enabled = true #啓用基本身份驗證。
security.basic.path = / ** #逗號分隔的安全路徑列表。
security.basic.realm = Spring #HTTP基本領域名稱。
security.enable-csrf = false #啓用跨站點請求僞造支持。
security.filter-order = 0 #安全過濾器鏈順序。
security.filter-dispatcher-types = ASYNC,FORWARD,INCLUDE,REQUEST #安全過濾器鏈調度程序類型。
security.headers.cache = true #啓用緩存控制HTTP標頭。
security.headers.content-security-policy = #內容安全策略標頭的值。
security.headers.content-security-policy-mode = default #內容安全策略模式。
security.headers.content-type = true #啓用“ X-Content-Type-Options”標頭。
security.headers.frame = true #啓用“ X-Frame-Options”標題。
security.headers.hsts = all #HTTP嚴格傳輸安全性(HSTS)模式(無,域,全部)。
security.headers.xss = true #啓用跨站點腳本(XSS)保護。
security.ignored = #逗號分隔的路徑列表,可從默認安全路徑中排除。
security.require-ssl = false #爲所有請求啓用安全通道。
security.sessions = stateless #會話創建策略(始終,從不,if_required,無狀態)。
security.user.name =用戶#默認用戶名。
security.user.password = #默認用戶名的密碼。默認情況下,啓動時會記錄一個隨機密碼。
security.user.role = USER #爲默認用戶名授予角色。

#安全OAUTH2客戶(OAuth2ClientProperties)
 security.oauth2.client.client-id = #OAuth2客戶ID。
security.oauth2.client.client-secret = #OAuth2客戶端機密。默認情況下會生成一個隨機祕密

#安全OAUTH2資源(ResourceServerProperties)
 security.oauth2.resource.filter-order = #用於認證令牌的過濾器鏈的順序。
security.oauth2.resource.id = #資源的標識符。
security.oauth2.resource.jwt.key-uri = #JWT令牌的URI。如果該值不可用並且密鑰是公共的,則可以設置。
security.oauth2.resource.jwt.key-value = #JWT令牌的驗證密鑰。可以是對稱密鑰,也可以是PEM編碼的RSA公鑰。
security.oauth2.resource.jwk.key-set-uri = #用於獲取可用於驗證令牌的密鑰集的URI。
security.oauth2.resource.prefer-token-info = true #使用令牌信息,可以設置爲false以使用用戶信息。
security.oauth2.resource.service-id = resource #
security.oauth2.resource.token-info-uri = #令牌解碼端點的URI。
security.oauth2.resource.token-type = #使用userInfoUri時要發送的令牌類型。
security.oauth2.resource.user-info-uri = #用戶端點的URI。

#SECURITY OAUTH2 SSO(OAuth2SsoProperties)
 security.oauth2.sso.filter-order = #如果未提供明確的WebSecurityConfigurerAdapter 
security.oauth2.sso.login-path = / login 則應用過濾器的順序#登錄頁面的路徑,即一個觸發重定向到OAuth2授權服務器


#---------------------------------------- 
#數據屬性
#----- -----------------------------------

#FLYWAY (FlywayProperties)
 flyway.baseline-description = #
flyway.baseline-version = 1 #開始遷移的版本
flyway.baseline-on-migrate = #
flyway.check-location = false #檢查遷移腳本位置是否存在。
flyway.clean-on-validation-error = #
flyway.enabled = true #啓用飛行
通道。flyway.encoding = #
flyway.ignore-failed-future-migration = #
flyway.init-sqls = #要在獲得連接後立即執行以初始化連接的SQL語句。
flyway.locations = classpath:db / migration #遷移腳本的位置
flyway.out-of-order = #
flyway.password = #JDBC密碼(如果您希望
Flyway 創建自己的數據源flyway.placeholder-prefix = #
flyway.placeholder-替換 = #
flyway.placeholder-後綴 = #
flyway.placeholders。* = #
flyway.schemas = #模式更新
flyway.sql-migration-prefix = V #
flyway.sql-migration-separator = #
flyway.sql-migration-後綴 = .sql #
flyway.table = #
flyway.url = #要遷移的數據庫的JDBC URL。如果未設置,則使用主要配置的數據源。
flyway.user = #要遷移的數據庫登錄用戶。
flyway.validate-on-migrate = #

#LIQUIBASE(LiquibaseProperties)
 liquibase.change-log = classpath:/db/changelog/db.changelog-master.yaml#更改日誌配置路徑。
liquibase.check-change-log-location = true #檢查更改日誌位置是否存在。
liquibase.contexts = #要使用的運行時上下文列表,以逗號分隔。
liquibase.default-schema = #默認數據庫架構。
liquibase.drop-first = false #
首先刪除數據庫架構。liquibase.enabled = true #啓用liquibase支持。
liquibase.labels = #要使用的運行時標籤列表,以逗號分隔。
liquibase.parameters。* = #更改日誌參數。
liquibase.password = #要遷移的數據庫的登錄密碼。
liquibase.rollback-file = #執行更新時將回滾SQL寫入的文件。
liquibase.url = #要遷移的數據庫的JDBC URL。如果未設置,則使用主要配置的數據源。
liquibase.user = #要遷移的數據庫登錄用戶。

#COUCHBASE(CouchbaseProperties)
 spring.couchbase.bootstrap-hosts = #要引導的Couchbase節點(主機或IP地址)。
spring.couchbase.bucket.name = default #要連接的桶的名稱。
spring.couchbase.bucket.password =   #存儲桶的密碼。
spring.couchbase.env.endpoints.key-value = 1 #相對於鍵/值服務的每個節點的套接字數。
spring.couchbase.env.endpoints.query = 1 #針對查詢(N1QL)服務的每個節點的套接字數。
spring.couchbase.env.endpoints.view = 1 #每個針對視圖服務的節點的套接字數。
spring.couchbase.env.ssl.enabled = #啓用SSL支持。除非另有說明,否則如果提供了“ keyStore”,則自動啓用。
spring.couchbase.env.ssl.key-store = #持有證書的JVM密鑰庫的路徑。
spring.couchbase.env.ssl.key-store-password = #用於訪問密鑰庫的密碼。
spring.couchbase.env.timeouts.connect = 5000 #桶連接超時(以毫秒爲單位)。
spring.couchbase.env.timeouts.key-value = 2500 #阻止對特定鍵超時執行的操作(以毫秒爲單位)。
spring.couchbase.env.timeouts.query = 7500 #N1QL查詢操作超時(以毫秒爲單位)。
spring.couchbase.env.timeouts.socket-connect = 1000 #套接字連接超時(以毫秒爲單位)。
spring.couchbase.env.timeouts.view = 7500 #常規和地理空間視圖操作超時(以毫秒爲單位)。

#DAO (PersistenceExceptionTranslationAutoConfiguration)
 spring.dao.exceptiontranslation.enabled = true #啓用PersistenceExceptionTranslationPostProcessor。

#CASSANDRA (CassandraProperties)
 spring.data.cassandra.cluster-name = #Cassandra集羣的名稱。
spring.data.cassandra.compression = none #Cassandra二進制協議支持的壓縮。
spring.data.cassandra.connect-timeout-millis = #套接字選項:連接超時。
spring.data.cassandra.consistency-level = #查詢一致性級別。
spring.data.cassandra.contact-points = localhost #集羣節點地址的逗號分隔列表。
spring.data.cassandra.fetch-size = #查詢默認提取大小。
spring.data.cassandra.keyspace-name =#要使用的鍵空間名稱。
spring.data.cassandra.load-balancing-policy = #負載均衡策略的類名。
spring.data.cassandra.port = #Cassandra服務器的端口。
spring.data.cassandra.password = #服務器的登錄密碼。
spring.data.cassandra.read-timeout-millis = #套接字選項:讀取超時。
spring.data.cassandra.reconnection-policy = #重新連接策略類。
spring.data.cassandra.repositories.enabled = #啓用Cassandra存儲庫。
spring.data.cassandra.retry-policy = #重試策略的類名。
spring.data.cassandra.serial-consistency-level = #查詢序列一致性級別。
spring.data.cassandra.schema-action = none #啓動時採取的模式操作。
spring.data.cassandra.ssl = false #啓用SSL支持。
spring.data.cassandra.username = #服務器的登錄用戶。

#DATA COUCHBASE(CouchbaseDataProperties)
 spring.data.couchbase.auto-index = false #自動創建視圖和索引。
spring.data.couchbase.consistency = read-your-own-writes #一致性,默認情況下應用於生成的查詢。
spring.data.couchbase.repositories.enabled = true #啓用Couchbase存儲庫。

#ELASTICSEARCH(ElasticsearchProperties)
 spring.data.elasticsearch.cluster-name = elasticsearch #Elasticsearch集羣名稱。
spring.data.elasticsearch.cluster-nodes = #集羣節點地址的逗號分隔列表。如果未指定,則啓動客戶端節點。
spring.data.elasticsearch.properties。* = #用於配置客戶端的其他屬性。
spring.data.elasticsearch.repositories.enabled = true #啓用Elasticsearch存儲庫。


#DATA LDAP spring.data.ldap.repositories.enabled = true #啓用LDAP存儲庫。

#MONGODB(MongoProperties)
 spring.data.mongodb.authentication-database = #認證數據庫名稱。
spring.data.mongodb.database = test #數據庫名稱。
spring.data.mongodb.field-naming-strategy = #要使用的FieldNamingStrategy的全限定名稱。
spring.data.mongodb.grid-fs-database = #GridFS數據庫名稱。
spring.data.mongodb.host = localhost #Mongo服務器主機。不能使用uri設置。
spring.data.mongodb.password = #mongo服務器的登錄密碼。不能使用uri設置。
spring.data.mongodb.port = 27017#Mongo服務器端口。不能使用uri設置。
spring.data.mongodb.repositories.enabled = true #啓用Mongo存儲庫。
spring.data.mongodb.uri = mongodb:// localhost / test #Mongo數據庫URI。無法使用主機,端口和憑據進行設置。
spring.data.mongodb.username = #mongo服務器的登錄用戶。不能使用uri設置。

#DATA REDIS 
spring.data.redis.repositories.enabled = true #啓用Redis存儲庫。

#NEO4J(Neo4jProperties)
 spring.data.neo4j.compiler = #要使用的編譯器。
spring.data.neo4j.embedded.enabled = true #如果嵌入式驅動程序可用,則啓用嵌入式模式。
spring.data.neo4j.open-in-view = true #註冊OpenSessionInViewInterceptor 將Neo4j會話綁定到線程以完成請求的整個處理。
spring.data.neo4j.password = #服務器的登錄密碼。
spring.data.neo4j.repositories.enabled = true #啓用Neo4j存儲庫。
spring.data.neo4j.uri = #驅動程序使用的URI。默認情況下自動檢測。
spring.data.neo4j。用戶名 =#服務器的登錄用戶。

#DATA REST(RepositoryRestProperties)
 spring.data.rest.base-path = #Spring Data REST用於公開存儲庫資源的基本路徑。
spring.data.rest.default-page-size = #
頁面的默認大小。spring.data.rest.detection-strategy = default #用於確定公開哪些存儲庫的策略。
spring.data.rest.enable-enum-translation = #通過Spring Data REST默認資源包啓用枚舉值轉換。
spring.data.rest.limit-param-name = #URL查詢字符串參數的名稱,該參數指示一次返回多少結果。
spring.data.rest.max-page-size =#頁面的最大大小。
spring.data.rest.page-param-name = #URL查詢字符串參數的名稱,該參數指示要返回的頁面。
spring.data.rest.return-body-on-create = #創建實體後返回響應主體。
spring.data.rest.return-body-on-update = #更新實體後返回響應主體。
spring.data.rest.sort-param-name = #URL查詢字符串參數的名稱,該參數指示對結果進行排序的方向。

#SOLR (SolrProperties)
 spring.data.solr.host = http://127.0.0.1:8983 / solr #Solr主機。忽略是否​​設置了“ zk-host”。
spring.data.solr.repositories.enabled = true #啓用Solr存儲庫。
spring.data.solr.zk-host = #ZooKeeper主機地址,格式爲HOST:PORT。

#DATASOURCE (DataSourceAutoConfiguration&DataSourceProperties)
 spring.datasource.continue-on-error = false #如果初始化數據庫時發生錯誤,請不要停止。
spring.datasource.data = #數據(DML)腳本資源引用。
spring.datasource.data-username = #執行DML腳本的數據庫用戶(如果有)。
spring.datasource.data-password = #執行DML腳本的數據庫密碼(如果不同)。
spring.datasource.dbcp2。* = #公用DBCP2特定設置
spring.datasource.driver-class-name =#JDBC驅動程序的全限定名稱。默認情況下根據URL自動檢測。
spring.datasource.generate-unique-name = false #生成一個隨機的數據源名稱。
spring.datasource.hikari。* = #Hikari特定設置
spring.datasource.initialize = true #使用'data.sql'填充數據庫。
spring.datasource.jmx-enabled = false #啓用JMX支持(如果由基礎池提供)。
spring.datasource.jndi-name = #數據源的JNDI位置。設置時將忽略類,URL,用戶名和密碼。
spring.datasource.name = testdb #數據源的名稱。
spring.datasource.password= #數據庫的登錄密碼。
spring.datasource.platform = all #在DDL或DML腳本中使用的平臺(例如,
schema- $ {platform} .sql或data- $ {platform} .sql)。spring.datasource.schema = #架構(DDL)腳本資源引用。
spring.datasource.schema-username = #執行DDL腳本的數據庫用戶(如果不同)。
spring.datasource.schema-password = #執行DDL腳本的數據庫密碼(如果不同)。
spring.datasource.separator =; #SQL初始化腳本中的語句分隔符。
spring.datasource.sql-script-encoding = #SQL腳本編碼。
spring.datasource.tomcat。* = #Tomcat數據源特定設置
spring.datasource.type = #要使用的連接池實現的全限定名稱。默認情況下,它是從類路徑中自動檢測到的。
spring.datasource.url = #數據庫的JDBC URL。
spring.datasource.username = #數據庫的登錄用戶。
spring.datasource.xa.data-source-class-name = #XA數據源全限定名。
spring.datasource.xa.properties = #傳遞給XA數據源的屬性。

#JEST (Elasticsearch HTTP客戶端)(JestProperties)
 spring.elasticsearch.jest.connection-timeout = 3000 #連接超時(以毫秒爲單位)。
spring.elasticsearch.jest.multi-threaded = true #啓用來自多個執行線程的連接請求。
spring.elasticsearch.jest.password = #登錄密碼。
spring.elasticsearch.jest.proxy.host = #HTTP客戶端應使用的代理主機。
spring.elasticsearch.jest.proxy.port = #HTTP客戶端應使用的代理端口。
spring.elasticsearch.jest.read-timeout = 3000 #讀取超時(以毫秒爲單位)。
彈簧彈力搜索= http:// localhost:9200 #要使用的Elasticsearch實例的逗號分隔列表。
spring.elasticsearch.jest.username = #登錄用戶。

#H2 Web控制檯(H2ConsoleProperties)
 spring.h2.console.enabled = false #啓用控制檯。
spring.h2.console.path = / h2-console #控制檯可用的路徑。
spring.h2.console.settings.trace = false #啓用跟蹤輸出。
spring.h2.console.settings.web-allow-others = false #啓用遠程訪問。

#JOOQ (JooqAutoConfiguration)
 spring.jooq.sql-dialect = #與配置的數據源通信時使用的SQLDialect JOOQ。例如`POSTGRES`

#JPA (JpaBaseConfiguration,HibernateJpaAutoConfiguration)
 spring.data.jpa.repositories.enabled = true #啓用JPA存儲庫。
spring.jpa.database = #要操作的目標數據庫,默認情況下會自動檢測到。也可以使用“ databasePlatform”屬性來設置。
spring.jpa.database-platform = #要操作的目標數據庫的名稱,默認情況下會自動檢測到。可以使用“數據庫”枚舉來替代設置。
spring.jpa.generate-ddl = false #啓動時初始化架構。
spring.jpa.hibernate.ddl-auto =#DDL模式。這實際上是“ hibernate.hbm2ddl.auto”屬性的快捷方式。使用嵌入式數據庫時,默認值爲“ create-drop”,否則爲“ none”。
spring.jpa.hibernate.naming.implicit-strategy = #Hibernate 5隱式命名策略的完全限定名稱。
spring.jpa.hibernate.naming.physical-strategy = #休眠5物理命名策略的完全限定名稱。
spring.jpa.hibernate.naming.strategy = #Hibernate 4命名策略的完全限定名稱。Hibernate 5不支持
。spring.jpa.hibernate.use-new-id-generator-mappings = #將Hibernate更新的IdentifierGenerator用於AUTO,TABLE和SEQUENCE。
spring.jpa.open-in-view = true#註冊OpenEntityManagerInViewInterceptor。將JPA EntityManager綁定到線程以完成請求的整個處理。
spring.jpa.properties。* = #要在JPA提供程序上設置的其他本機屬性。
spring.jpa.show-sql = false #啓用日誌記錄。

#JTA (JtaAutoConfiguration)
 spring.jta.enabled = true #啓用JTA支持。
spring.jta.log-dir = #事務日誌目錄。
spring.jta.transaction-manager-id = #交易管理器的唯一標識符。

#ATOMIKOS(AtomikosProperties)
 spring.jta.atomikos.connectionfactory.borrow-connection-timeout = 30 #超時,以秒爲單位,用於從池中借用連接。
spring.jta.atomikos.connectionfactory.ignore-session-transacted-flag = true #創建會話時是否忽略交易標記。
spring.jta.atomikos.connectionfactory.local-transaction-mode = false #是否需要本地交易。
spring.jta.atomikos.connectionfactory.maintenance-interval = 60 #兩次運行池維護線程之間的時間(以秒爲單位)。
spring.jta.atomikos.connectionfactory。最大空閒時間 = 60#從池中清除連接的時間(以秒爲單位)。
spring.jta.atomikos.connectionfactory.max-lifetime = 0 #破壞連接之前可以彙集的時間(以秒爲單位)。0表示沒有限制。
spring.jta.atomikos.connectionfactory.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.connectionfactory.min-pool-size = 1 #池的最小大小。
spring.jta.atomikos.connectionfactory.reap-timeout = 0 = #借用連接的接收超時(以秒爲單位)。0表示沒有限制。
spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory#在恢復過程中用於標識資源的唯一名稱。
spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #超時,以秒爲單位,用於從池中借用連接。
spring.jta.atomikos.datasource.default-isolation-level = #池提供的連接的默認隔離級別。
spring.jta.atomikos.datasource.login-timeout = #建立數據庫連接
的超時時間(以秒爲單位)。spring.jta.atomikos.datasource.maintenance-interval = 60 #兩次運行池維護線程之間的時間(以秒爲單位)。
spring.jta.atomikos.datasource.max-idle-time = 60#從池中清除連接的時間(以秒爲單位)。
spring.jta.atomikos.datasource.max-lifetime = 0 #破壞連接之前可以彙集的時間(以秒爲單位)。0表示沒有限制。
spring.jta.atomikos.datasource.max-pool-size = 1 #池的最大大小。
spring.jta.atomikos.datasource.min-pool-size = 1 #池的最小大小。
spring.jta.atomikos.datasource.reap-timeout = 0 #借入的連接的超時時間(以秒爲單位)。0表示沒有限制。
spring.jta.atomikos.datasource.test-query = #返回連接前用於驗證連接的SQL查詢或語句。
spring.jta.atomikos.datasource.unique-resource-name = dataSource #用於在恢復期間標識資源的唯一名稱。
spring.jta.atomikos.properties.checkpoint-interval = 500 #檢查點之間的間隔。
spring.jta.atomikos.properties.default-jta-timeout = 10000 #JTA事務的默認超時。
spring.jta.atomikos.properties.enable-logging = true #啓用磁盤日誌記錄。
spring.jta.atomikos.properties.force-shutdown-on-vm-exit = false #指定VM關閉是否應觸發事務核心的強制關閉。
spring.jta.atomikos.properties.log-base-dir = #應當在其中存儲日誌文件的目錄。
spring.jta.atomikos.properties.log-base-name = tmlog #事務日誌文件的基本名稱。
spring.jta.atomikos.properties.max-actives = 50 #最大活動交易數。
spring.jta.atomikos.properties.max-timeout = 300000 #交易允許的最大超時時間(以毫秒爲單位)。
spring.jta.atomikos.properties.serial-jta-transactions = true #指定是否應儘可能
合併子事務。spring.jta.atomikos.properties.service = #應該啓動的事務管理器實現。
spring.jta.atomikos.properties.threaded-two-phase-commit = false#對參與的資源使用不同(併發)線程進行兩階段提交。
spring.jta.atomikos.properties.transaction-manager-unique-name = #事務管理器的唯一名稱。

#BITRONIX 
spring.jta.bitronix.connectionfactory.acquire-increment = 1 = #增加池時要創建的連接數。
spring.jta.bitronix.connectionfactory.acquisition-interval = 1 #等待時間(以秒爲單位),該時間是在獲取無效連接之後嘗試再次獲取連接之前的等待時間。
spring.jta.bitronix.connectionfactory.acquisition-timeout = 30 #用於從池中獲取連接的超時(以秒爲單位)。
spring.jta.bitronix.connectionfactory.allow-local-transactions = true #事務管理器是否應允許混合XA和非XA事務。
spring.jta.bitronix.connectionfactory.apply-transaction-timeout = false#申請XAResource時是否應設置事務超時。
spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled = true #是否應自動徵募和除名資源。
spring.jta.bitronix.connectionfactory.cache-producers-consumers = true #是否應該緩存
生產者和使用者。spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程序是否可以在同一連接上運行許多事務並支持事務交織。
spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應忽略恢復失敗。
spring.jta.bitronix.connectionfactory.max-idle-time = 60 #從池中清除連接之後的時間(以秒爲單位)。
spring.jta.bitronix.connectionfactory.max-pool-size = 10 #池的最大大小。0表示沒有限制。
spring.jta.bitronix.connectionfactory.min-pool-size = 0 #池的最小大小。
spring.jta.bitronix.connectionfactory.password = #用於連接到JMS提供程序的密碼。
spring.jta.bitronix.connectionfactory.share-transaction-connections = false #是否可以在事務上下文中共享ACCESSIBLE狀態的連接。
spring.jta.bitronix.connectionfactory.test-connections = true #從池中獲取連接時是否應該測試連接。
spring.jta.bitronix.connectionfactory.two-pc-ordering-position = 1 #此資源在兩階段提交期間應占據的位置(始終首先是Integer.MIN_VALUE,始終最後是Integer.MAX_VALUE)。
spring.jta.bitronix.connectionfactory.unique-name = jmsConnectionFactory #用於在恢復期間標識資源的唯一名稱。
spring.jta.bitronix.connectionfactory.use-tm-join = true啓動XAResources時是否應使用TMJOIN。
spring.jta.bitronix.connectionfactory.user =#用於連接到JMS提供程序的用戶。
spring.jta.bitronix.datasource.acquire-increment = 1 = #增加池時要創建的連接數。
spring.jta.bitronix.datasource.acquisition-interval = 1 #等待時間(以秒爲單位),該時間是在獲取無效連接之後嘗試再次獲取連接之前的等待時間。
spring.jta.bitronix.datasource.acquisition-timeout = 30 #超時(以秒爲單位),用於從池中獲取連接。
spring.jta.bitronix.datasource.allow-local-transactions = true #事務管理器是否應允許混合XA和非XA事務。
spring.jta.bitronix.datasource.apply-transaction-timeout = false#申請XAResource時是否應設置事務超時。
spring.jta.bitronix.datasource.automatic-enlisting-enabled = true #是否應自動徵募和除名資源。
spring.jta.bitronix.datasource.cursor-holdability = #連接的默認光標可保留性。
spring.jta.bitronix.datasource.defer-connection-release = true #數據庫是否可以在同一連接上運行許多事務並支持事務交織。
spring.jta.bitronix.datasource.enable-jdbc4-connection-test = #從池中獲取連接時是否調用Connection.isValid()。
spring.jta.bitronix.datasource.ignore-recovery-failures = false #是否應忽略恢復失敗。
spring.jta.bitronix.datasource.isolation-level = #連接的默認隔離級別。
spring.jta.bitronix.datasource.local-auto-commit = #本地事務的默認自動提交模式。
spring.jta.bitronix.datasource.login-timeout = #建立數據庫連接
的超時時間(以秒爲單位)。spring.jta.bitronix.datasource.max-idle-time = 60 #從池中清除連接之後的時間(以秒爲單位)。
spring.jta.bitronix.datasource.max-pool-size = 10#池的最大大小。0表示沒有限制。
spring.jta.bitronix.datasource.min-pool-size = 0 #池的最小大小。
spring.jta.bitronix.datasource.prepared-statement-cache-size = 0 #準備好的語句緩存的目標大小。0禁用緩存。
spring.jta.bitronix.datasource.share-transaction-connections = false #是否可以在事務上下文中共享ACCESSIBLE狀態的連接。
spring.jta.bitronix.datasource.test-query = #用於在返回連接之前驗證連接的SQL查詢或語句。
spring.jta.bitronix.datasource.two-pc-ordering-position = 1#在兩階段提交期間此資源應占據的位置(始終首先是Integer.MIN_VALUE,始終最後是Integer.MAX_VALUE)。
spring.jta.bitronix.datasource.unique-name = dataSource #恢復期間用於標識資源的唯一名稱。
spring.jta.bitronix.datasource.use-tm-join = true啓動XAResources時是否應使用TMJOIN。
spring.jta.bitronix.properties.allow-multiple-lrc = false #允許將多個LRC資源註冊到同一事務中。
spring.jta.bitronix.properties.asynchronous2-pc = false #啓用異步執行兩階段提交。
spring.jta.bitronix.properties.background-recovery-interval-seconds = 60#在後臺運行恢復過程的時間間隔(以秒爲單位)。
spring.jta.bitronix.properties.current-node-only-recovery = true #僅恢復當前節點。
spring.jta.bitronix.properties.debug-zero-resource-transaction = false #記錄沒有單個登記資源就執行的事務的創建和提交調用堆棧。
spring.jta.bitronix.properties.default-transaction-timeout = 60 #默認事務超時,以秒爲單位。
spring.jta.bitronix.properties.disable-jmx = false #啓用JMX支持。
spring.jta.bitronix.properties.exception-analyzer = #設置要使用的異常分析器實現的標準名稱。
spring.jta.bitronix.properties.filter-log-status = false #啓用日誌過濾,以便僅寫入強制性日誌。
spring.jta.bitronix.properties.force-batching-enabled = true #設置是否對磁盤強制進行批處理。
spring.jta.bitronix.properties.forced-write-enabled = true #設置是否將日誌強制寫入磁盤。
spring.jta.bitronix.properties.graceful-shutdown-interval = 60 #TM在關閉事務之前中止事務之前等待事務完成的最大秒數。
spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name = #TransactionSynchronizationRegistry的JNDI名稱。
spring.jta.bitronix.properties.jndi-user-transaction-name = #UserTransaction的JNDI名稱。
spring.jta.bitronix.properties.journal = disk #日誌名稱。可以是“ disk”,“ null”或類名。
spring.jta.bitronix.properties.log-part1-filename = btm1.tlog #日誌的第一個片段的名稱。
spring.jta.bitronix.properties.log-part2-filename = btm2.tlog #日誌的第二個片段的名稱。
spring.jta.bitronix.properties.max-log-size-in-mb = 2 #日誌片段的最大大小(以兆字節爲單位)。
spring.jta.bitronix.properties.resource-configuration-filename = #ResourceLoader配置文件名。
spring.jta.bitronix.properties.server-id = #必須唯一標識此TM實例的ASCII ID。默認爲機器的IP地址。
spring.jta.bitronix.properties.skip-corrupted-logs = false #跳過損壞的交易日誌條目。
spring.jta.bitronix.properties.warn-about-zero-resource-transaction = true #爲沒有單個登記資源而執行的事務記錄警告。

#NARAYANA(NarayanaProperties)
 spring.jta.narayana.default-timeout = 60 #事務超時(以秒爲單位)。
spring.jta.narayana.expiry-scanners = com.arjuna.ats.internal.arjuna.recovery.ExpiredTransactionStatusManagerScanner #逗號分隔的過期掃描程序列表。
spring.jta.narayana.log-dir = #事務對象存儲目錄。
spring.jta.narayana.one-phase-commit = true #啓用一階段提交優化。
spring.jta.narayana.periodic-recovery-period = 120 #在幾秒鐘內執行定期恢復掃描的時間間隔。
spring.jta.narayana.recovery-backoff-period = 10#在恢復掃描的第一階段和第二階段之間的退避時間(以秒爲單位)。
spring.jta.narayana.recovery-db-pass = #恢復管理器要使用的數據庫密碼。
spring.jta.narayana.recovery-db-user = #恢復管理器將使用的數據庫用戶名。
spring.jta.narayana.recovery-jms-pass = #恢復管理器將使用的JMS密碼。
spring.jta.narayana.recovery-jms-user = #恢復管理器將使用的JMS用戶名。
spring.jta.narayana.recovery-modules = #以逗號分隔的恢復模塊列表。
spring.jta.narayana.transaction-manager-id = 1 #唯一的交易管理器ID。
spring.jta.narayana.xa-resource-orphan-filters = #以逗號分隔的孤立過濾器列表。

#EMBEDDED MONGODB(EmbeddedMongoProperties)
 spring.mongodb.embedded.features = SYNC_DELAY #逗號分隔的功能列表。
spring.mongodb.embedded.storage.database-dir = #用於數據存儲的目錄。
spring.mongodb.embedded.storage.oplog-size = #操作
日誌的最大大小(以兆字節爲單位)。spring.mongodb.embedded.storage.repl-set-name = #副本集的名稱。
spring.mongodb.embedded.version = 2.6.10 #要使用的Mongo版本。

#REDIS(RedisProperties)
 spring.redis.cluster.max -redirects = #在整個集羣中執行命令時要遵循的最大重定向數。
spring.redis.cluster.nodes = #逗號分隔的“ host:port”對列表,用於引導。
spring.redis.database = 0 #連接工廠使用的數據庫索引。
spring.redis.url = #連接URL,將覆蓋主機,端口和密碼(用戶將被忽略),例如redis:// user:[email protected] :6379 
spring.redis.host = localhost #Redis服務器主機。
spring.redis.password = #Redis服務器的登錄密碼。
spring.redis.ssl = false #啓用SSL支持。
spring.redis.pool.max-active = 8 #池在給定時間可以分配的最大連接數。使用負值表示沒有限制。
spring.redis.pool.max-idle = 8 #池中“空閒”連接的最大數量。使用負值表示無限數量的空閒連接。
spring.redis.pool.max-wait = -1 #在池耗盡時引發異常之前,連接分配應阻塞的最長時間(以毫秒爲單位)。使用負值無限期阻止。
spring.redis.pool.min-idle = 0#指定池中要維護的最小空閒連接數。該設置只有在爲正時纔有效。
spring.redis.port = 6379 #Redis服務器端口。
spring.redis.sentinel.master = #Redis服務器的名稱。
spring.redis.sentinel.nodes = #以逗號分隔的host:port對列表。
spring.redis.timeout = 0 #連接超時(以毫秒爲單位)。

#TRANSACTION (TransactionProperties)
 spring.transaction.default-timeout = #默認事務超時,以秒爲單位。
spring.transaction.rollback-on-commit-failure = #在提交失敗時執行回滾。



#---------------------------------------- 
#集成屬性
#----- -----------------------------------

#ACTIVEMQ(ActiveMQProperties)
 spring.activemq.broker-url = #ActiveMQ代理的URL。默認情況下自動生成。
spring.activemq.close-timeout = 15000 #在考慮關閉完成之前等待的時間(以毫秒爲單位)。
spring.activemq.in-memory = true #指定默認代理URL是否應在內存中。忽略是否​​已指定顯式代理。
spring.activemq.non-blocking-redelivery = false #在重新發送來自回滾事務的消息之前,請不要停止消息傳遞。這意味着啓用此功能後將不會保留消息順序。
spring.activemq.password =#經紀人的登錄密碼。
spring.activemq.send-timeout = 0 #等待消息發送響應的時間(以毫秒爲單位)。設置爲0表示永遠等待。
spring.activemq.user = #經紀人的登錄用戶。
spring.activemq.packages.trust-all = #信任所有軟件包。
spring.activemq.packages.trusted = #要信任的特定軟件包的列表,以逗號分隔(當不信任所有軟件包時)。
spring.activemq.pool.block-if-full = true #在請求連接且池已滿時阻塞。將其設置爲false可以引發“ JMSException”。
spring.activemq.pool.block-if-full-timeout = -1#如果池仍然滿,則在引發異常之前的阻塞時間(以毫秒爲單位)。
spring.activemq.pool.create-connection-on-startup = true #
啓動時創建連接。可用於在啓動時預熱池。spring.activemq.pool.enabled = false #是否應創建PooledConnectionFactory而不是常規ConnectionFactory。
spring.activemq.pool.expiry-timeout = 0 #連接過期超時(以毫秒爲單位)。
spring.activemq.pool.idle-timeout = 30000 #連接空閒超時(以毫秒爲單位)。
spring.activemq.pool.max-connections = 1 #池連接的最大數量。
spring.activemq.pool.maximum-active-session-per-connection = 500 #每個連接的最大活動會話數。
spring.activemq.pool.reconnect-on-exception = true #發生“ JMXException”時重置連接。
spring.activemq.pool.time-between-expiration-check = -1 #空閒連接收回線程的兩次運行之間的睡眠時間(以毫秒爲單位)。如果爲負,則不運行空閒的連接收回線程。
spring.activemq.pool.use-anonymous-producers = true #僅使用一個匿名“ MessageProducer”實例。設置爲false可以在每次需要一個“ MessageProducer”時創建一個。

#ARTEMIS (ArtemisProperties)
 spring.artemis.embedded.cluster-password = #集羣密碼。默認情況下在啓動時隨機生成。
spring.artemis.embedded.data-directory = #日誌文件目錄。如果關閉了持久性,則沒有必要。
spring.artemis.embedded.enabled = true #如果Artemis服務器API可用,則啓用嵌入式模式。
spring.artemis.embedded.persistent = false #啓用持久存儲。
spring.artemis.embedded.queues = #在啓動時創建的以逗號分隔的隊列列表。
spring.artemis.embedded.server-id =#服務器ID。默認情況下,使用自動遞增計數器。
spring.artemis.embedded.topics = #在啓動時創建的主題列表,以逗號分隔。
spring.artemis.host = localhost #Artemis經紀人主機。
spring.artemis.mode = #Artemis部署模式,默認情況下自動檢測。
spring.artemis.password = #經紀人的登錄密碼。
spring.artemis.port = 61616 #Artemis經紀人港口。
spring.artemis.user = #經紀人的登錄用戶。

#SPRING BATCH(BatchProperties)
 spring.batch.initializer.enabled = #必要時在啓動時創建所需的批處理表。如果未設置自定義表前綴或配置了自定義架構,則自動啓用。
spring.batch.job.enabled = true #在啓動時在上下文中執行所有Spring Batch作業。
spring.batch.job.names = #要在啓動時執行的作業名稱列表,以逗號分隔(例如`job1,job2`)。默認情況下,將執行在上下文中找到的所有作業。
spring.batch.schema =類路徑:org / springframework / batch / core / schema- @ @ platform @ @ .sql#用於初始化數據庫模式的SQL文件的路徑。
spring.batch.table-prefix = #所有批處理元數據表的表前綴。

#JMS (JmsProperties)
 spring.jms.jndi-name = #連接工廠JNDI名稱。設置後,優先於其他連接工廠自動配置。
spring.jms.listener.acknowledge-mode = #容器的確認模式。默認情況下,將使用自動確認來處理偵聽器。
spring.jms.listener.auto-startup = true #啓動時自動啓動容器。
spring.jms.listener.concurrency = #併發使用者的最小數量。
spring.jms.listener.max-concurrency = #併發使用者的最大數量。
spring.jms.pub-sub-domain = false#指定默認目標類型是否爲“主題”。
spring.jms.template.default-destination = #要用於沒有目標參數的發送/接收操作的默認目標。
spring.jms.template.delivery-delay = #用於發送呼叫的傳遞延遲(以毫秒爲單位)。
spring.jms.template.delivery-mode = #投放模式。設置時啓用QoS。
spring.jms.template.priority = #發送消息時的優先級。設置時啓用QoS。
spring.jms.template.qos-enabled = #發送消息時啓用顯式QoS。
spring.jms.template.receive-timeout = #用於接收呼叫的超時(以毫秒爲單位)。
spring.jms.template.time-to-live = #消息的生存時間(以毫秒爲單位)。設置時啓用QoS。

#APACHE KAFKA(KafkaProperties)
 spring.kafka.bootstrap-servers = #用逗號分隔的host:port對列表,用於建立與Kafka集羣的初始連接。
spring.kafka.client-id = #發出請求時傳遞給服務器的ID;用於服務器端日誌記錄。
spring.kafka.consumer.auto-commit-interval = #如果'enable.auto.commit'爲true,則將消費者偏移量自動提交給Kafka的頻率(以毫秒爲單位)。
spring.kafka.consumer.auto-offset-reset = #當Kafka中沒有初始偏移量或服務器上不再存在當前偏移量時該怎麼辦。
spring.kafka.consumer.bootstrap-servers =#以逗號分隔的host:port對列表,用於建立與Kafka集羣的初始連接。
spring.kafka.consumer.client-id = #發出請求時傳遞給服務器的ID;用於服務器端日誌記錄。
spring.kafka.consumer.enable-auto-commit = #如果爲true,則將在後臺定期提交使用者的偏移量。
spring.kafka.consumer.fetch-max-wait = #如果沒有足夠的數據立即滿足“ fetch.min.bytes”給出的要求,服務器將在響應提取請求之前阻塞的最長時間(以毫秒爲單位)。
spring.kafka.consumer.fetch-min-size =#服務器爲獲取請求而應返回的最小數據量(以字節爲單位)。
spring.kafka.consumer.group-id = #唯一字符串,用於標識此消費者所屬的消費者組。
spring.kafka.consumer.heartbeat-interval = #與消費者協調員之間的心跳之間的期望時間(以毫秒爲單位)。
spring.kafka.consumer.key-deserializer = #密鑰
的反序列化器類。spring.kafka.consumer.max-poll-records = #一次調用poll()時返回的最大記錄數。
spring.kafka.consumer.value-deserializer = #值
的反序列化器類。spring.kafka.listener.ack-count =#當ackMode爲“ COUNT”或“ COUNT_TIME”時,兩次偏移提交之間的記錄數。
spring.kafka.listener.ack-mode = #監聽器AckMode; 請參閱spring-kafka文檔。
spring.kafka.listener.ack-time = #當ackMode爲“ TIME”或“ COUNT_TIME”時,兩次偏移提交之間的時間(以毫秒爲單位)。
spring.kafka.listener.concurrency = #在偵聽器容器中運行的線程數。
spring.kafka.listener.poll-timeout = #輪詢使用者時使用的超時(以毫秒爲單位)。
spring.kafka.producer.acks = #生產者要求領導者在確認請求完成之前已收到的確認數。
spring.kafka.producer.batch-size = #發送前要批處理的記錄數。
spring.kafka.producer.bootstrap-servers = #用逗號分隔的host:port對列表,用於建立與Kafka集羣的初始連接。
spring.kafka.producer.buffer-memory = #生產者可以用來緩衝等待發送到服務器的記錄的總內存字節。
spring.kafka.producer.client-id = #發出請求時傳遞給服務器的ID;用於服務器端日誌記錄。
spring.kafka.producer.compression-type = #生產者生成的所有數據的壓縮類型。
spring.kafka.producer.key-serializer =#密鑰的序列化器類。
spring.kafka.producer.retries = #大於零時,啓用重試失敗的發送。
spring.kafka.producer.value-serializer = #值的序列化程序類。
spring.kafka.properties。* = #用於配置客戶端的其他屬性。
spring.kafka.ssl.key-password = #密鑰存儲文件中私鑰的密碼。
spring.kafka.ssl.keystore-location = #密鑰存儲文件的位置。
spring.kafka.ssl.keystore-password = #密鑰存儲文件的存儲密碼。
spring.kafka.ssl.truststore-location = #信任庫文件的位置。
spring.kafka.ssl.truststore-password = #信任存儲文件的存儲密碼。
spring.kafka.template.default-topic = #要將消息發送到的默認主題。

#RABBIT(RabbitProperties)
 spring.rabbitmq.addresses = #客戶端應連接到的地址的逗號分隔列表。
spring.rabbitmq.cache.channel.checkout-timeout = #如果達到緩存大小,等待獲取通道的毫秒數。
spring.rabbitmq.cache.channel.size = #要保留在緩存中的通道數。
spring.rabbitmq.cache.connection.mode = channel #連接工廠緩存模式。
spring.rabbitmq.cache.connection.size = #緩存連接數。
spring.rabbitmq.connection-timeout = #連接超時,以毫秒爲單位;零代表無限。
spring.rabbitmq.dynamic =真#創建AmqpAdmin豆。
spring.rabbitmq.host = localhost #RabbitMQ主機。
spring.rabbitmq.listener.simple.acknowledge-mode = #容器的確認模式。
spring.rabbitmq.listener.simple.auto-startup = true #啓動時自動啓動容器。
spring.rabbitmq.listener.simple.concurrency = #最小使用者數。
spring.rabbitmq.listener.simple.default-requeue-rejected = #是否重新排隊交付失敗;默認爲“ true”。
spring.rabbitmq.listener.simple.idle-event-interval =#空閒容器事件應多久發佈一次(以毫秒爲單位)。
spring.rabbitmq.listener.simple.max-concurrency = #最大使用者數。
spring.rabbitmq.listener.simple.prefetch = #單個請求中要處理的消息數。它應該大於或等於事務大小(如果使用)。
spring.rabbitmq.listener.simple.retry.enabled = false #是否啓用發佈重試。
spring.rabbitmq.listener.simple.retry.initial-interval = 1000 #第一次和第二次嘗試傳遞消息之間的間隔。
spring.rabbitmq.listener.simple.retry.max-attempts = 3 #嘗試傳遞消息的最大次數。
spring.rabbitmq.listener.simple.retry.max-interval = 10000 #
兩次嘗試之間的最大間隔。spring.rabbitmq.listener.simple.retry.multiplier = 1.0 #應用於前一次傳遞重試間隔的乘數。
spring.rabbitmq.listener.simple.retry.stateless = true #重試是無狀態還是有狀態。
spring.rabbitmq.listener.simple.transaction-size = #事務中要處理的消息數。爲了獲得最佳結果,該值應小於或等於預取計數。
spring.rabbitmq.password = #登錄以針對代理進行身份驗證。
spring.rabbitmq.port = 5672 #RabbitMQ端口。
spring.rabbitmq.publisher-confirms = false #啓用發佈者確認。
spring.rabbitmq.publisher-returns = false #啓用發佈者退貨。
spring.rabbitmq.requested-heartbeat = #請求的心跳超時,以秒爲單位;無爲零。
spring.rabbitmq.ssl.enabled = false #啓用SSL支持。
spring.rabbitmq.ssl.key-store = #存放SSL證書的密鑰存儲的路徑。
spring.rabbitmq.ssl.key-store-password = #用於訪問密鑰庫的密碼。
spring.rabbitmq.ssl.trust-store = #持有SSL證書的信任庫。
spring.rabbitmq.ssl.trust-store-password= #用於訪問信任庫的密碼。
spring.rabbitmq.ssl.algorithm = #要使用的SSL算法。默認情況下由Rabbit客戶端庫配置。
spring.rabbitmq.template.mandatory = false #啓用強制性消息。
spring.rabbitmq.template.receive-timeout = 0 #`receive()`方法的超時。
spring.rabbitmq.template.reply-timeout = 5000 #sendAndReceive()方法的超時。
spring.rabbitmq.template.retry.enabled = false #設置爲true以啓用“ RabbitTemplate”中的重試。
spring.rabbitmq.template.retry.initial-interval = 1000#第一次和第二次嘗試發佈消息之間的間隔。
spring.rabbitmq.template.retry.max-attempts = 3 #嘗試發佈消息的最大次數。
spring.rabbitmq.template.retry.max-interval = 10000 #嘗試發佈消息的最大次數。
spring.rabbitmq.template.retry.multiplier = 1.0 #應用於前一個發佈重試間隔的乘數。
spring.rabbitmq.username = #登錄用戶以對代理進行身份驗證。
spring.rabbitmq.virtual-host = #連接到代理時要使用的虛擬主機。


#---------------------------------------- 
#執行器屬性
#----- -----------------------------------

#ENDPOINTS(AbstractEndpoint子類)
 endpoints.enabled = true #啓用端點。
endpoints.sensitive = #默認的端點敏感設置。
endpoints.actuator.enabled = true #啓用端點。
endpoints.actuator.path = #端點URL路徑。
endpoints.actuator.sensitive = false #在端點上啓用安全性。
endpoints.auditevents.enabled = #啓用端點。
endpoints.auditevents.path = #端點路徑。
endpoints.auditevents.sensitive = false #在端點上啓用安全性。
endpoints.autoconfig.enabled = #啓用端點。
endpoints.autoconfig.id = #端點標識符。
endpoints.autoconfig.path = #端點路徑。
endpoints.autoconfig.sensitive = #標記端點是否公開敏感信息。
endpoints.beans.enabled = #啓用端點。
endpoints.beans.id = #端點標識符。
endpoints.beans.path = #端點路徑。
endpoints.beans.sensitive = #標記端點是否公開敏感信息。
endpoints.configprops.enabled = #啓用端點。
endpoints.configprops.id = #端點標識符。
endpoints.configprops.keys-to-sanitize =密碼,祕密,密鑰,令牌,。*憑據。*,vcap_services #應該
清除的密鑰。鍵可以是屬性結尾的簡單字符串,也可以是正則表達式。endpoints.configprops.path = #端點路徑。
endpoints.configprops.sensitive = #標記端點是否公開敏感信息。
endpoints.docs.curies.enabled = false #啓用居里生成。
endpoints.docs.enabled = true #啓用執行器文檔端點。
endpoints.docs.path = / docs #
endpoints.docs.sensitive= false #
endpoints.dump.enabled = #啓用端點。
endpoints.dump.id = #端點標識符。
endpoints.dump.path = #端點路徑。
endpoints.dump.sensitive = #標記端點是否公開敏感信息。
endpoints.env.enabled = #啓用端點。
endpoints.env.id = #端點標識符。
endpoints.env.keys-to-sanitize =密碼,祕密,密鑰,令牌,。*憑據。*,vcap_services #應該
清除的密鑰。鍵可以是屬性結尾的簡單字符串,也可以是正則表達式。endpoints.env.path =#端點路徑。
endpoints.env.sensitive = #標記端點是否公開敏感信息。
endpoints.flyway.enabled = #啓用端點。
endpoints.flyway.id = #端點標識符。
endpoints.flyway.sensitive = #標記端點是否公開敏感信息。
endpoints.health.enabled = #啓用端點。
endpoints.health.id = #端點標識符。
endpoints.health.mapping。* = #健康狀態到HTTP狀態代碼的映射。默認情況下,已註冊的健康狀態會映射爲明智的默認值(即UP映射爲200)。
endpoints.health.path =#端點路徑。
endpoints.health.sensitive = #標記端點是否公開敏感信息。
endpoints.health.time-to-live = 1000 #緩存結果的生存時間(以毫秒爲單位)。
endpoints.heapdump.enabled = #啓用端點。
endpoints.heapdump.path = #端點路徑。
endpoints.heapdump.sensitive = #標記端點是否公開敏感信息。
endpoints.hypermedia.enabled = false #啓用對端點的超媒體支持。
endpoints.info.enabled = #啓用端點。
endpoints.info.id = #端點標識符。
endpoints.info.path = #端點路徑。
endpoints.info.sensitive = #標記端點是否公開敏感信息。
endpoints.jolokia.enabled = true #啓用Jolokia端點。
endpoints.jolokia.path = / jolokia #端點URL路徑。
endpoints.jolokia.sensitive = true #在端點上啓用安全性。
endpoints.liquibase.enabled = #啓用端點。
endpoints.liquibase.id = #端點標識符。
endpoints.liquibase.sensitive = #標記端點是否公開敏感信息。
endpoints.logfile.enabled = true#使能端點。
endpoints.logfile.external-file = #要訪問的外部日誌文件。
endpoints.logfile.path = / logfile #端點URL路徑。
endpoints.logfile.sensitive = true #在端點上啓用安全性。
endpoints.loggers.enabled = true #啓用端點。
endpoints.loggers.id = #端點標識符。
endpoints.loggers.path = / logfile #端點路徑。
endpoints.loggers.sensitive = true #標記端點是否公開敏感信息。
endpoints.mappings.enabled = #啓用端點。
endpoints.mappings.id= #端點標識符。
endpoints.mappings.path = #端點路徑。
endpoints.mappings.sensitive = #標記端點是否公開敏感信息。
endpoints.metrics.enabled = #啓用端點。
endpoints.metrics.filter.enabled = true #啓用指標servlet過濾器。
endpoints.metrics.filter.gauge-提交 =合併#的Http過濾儀提交(合併,每-HTTP-法)
endpoints.metrics.filter.counter-提交 =合併#HTTP篩選計數器提交(合併,每-HTTP-方法)
endpoints.metrics.id = #端點標識符。
endpoints.metrics.path = #端點路徑。
endpoints.metrics.sensitive = #標記端點是否公開敏感信息。
endpoints.shutdown.enabled = #啓用端點。
endpoints.shutdown.id = #端點標識符。
endpoints.shutdown.path = #端點路徑。
endpoints.shutdown.sensitive = #標記端點是否公開敏感信息。
endpoints.trace.enabled = #啓用端點。
endpoints.trace.filter.enabled = true #啓用跟蹤servlet過濾器。
endpoints.trace.id = #端點標識符。
endpoints.trace.path = #端點路徑。
endpoints.trace.sensitive = #標記端點是否公開敏感信息。

#ENDPOINTS CORS配置(EndpointCorsProperties)
 endpoints.cors.allow-credentials = #設置是否支持憑據。如果未設置,則不支持憑據。
endpoints.cors.allowed-headers = #允許在請求中使用的逗號分隔的標題列表。'*'允許所有標題。
endpoints.cors.allowed-methods = GET #允許使用逗號分隔的方法列表。'*'允許所有方法。
endpoints.cors.allowed-origins = #允許使用逗號分隔的來源列表。'*'允許所有來源。如果未設置,則會禁用CORS支持。
endpoints.cors.exposed-headers = #包含在響應中的標頭逗號分隔列表。
endpoints.cors.max-age = 1800 #客戶端可以將飛行前請求的響應緩存多長時間(以秒爲單位)。

#JMX ENDPOINT(EndpointMBeanExportProperties)
 endpoints.jmx.domain = #JMX域名。如果設置了“ spring.jmx.default-domain”的值,則進行初始化。
endpoints.jmx.enabled = true #啓用所有端點的JMX導出。
endpoints.jmx.static-names = #附加到代表端點的MBean的所有ObjectName的附加靜態屬性。
endpoints.jmx.unique-names = false #確保發生衝突時修改ObjectName。

#JOLOKIA(JolokiaProperties)
 jolokia.config。* = #參見Jolokia手冊

#MANAGEMENT HTTP SERVER(ManagementServerProperties)
 management.add-application-context-header = true #在每個響應中添加“ X-Application-Context” HTTP標頭。
management.address = #管理端點應綁定到的網絡地址。
management.context-path = #管理端點上下文路徑。例如`/ actuator` 
management.cloudfoundry.enabled = #啓用擴展的Cloud Foundry執行器端點
管理.cloudfoundry.skip-ssl-validation = #跳過對Cloud Foundry執行器端點安全調用的SSL驗證
management.port =#管理端點的HTTP端口。默認情況下,使用與應用程序相同的端口。配置其他端口以使用特定於管理的SSL。
management.security.enabled = true #啓用安全性。
management.security.roles = ACTUATOR #可以訪問管理端點的角色的逗號分隔列表。
management.security.sessions = stateless #要使用的會話創建策略(始終,從不,if_required,無狀態)。
management.ssl.ciphers = #支持的SSL密碼。需要自定義的management.port。
management.ssl.client-auth = #是否需要客戶端認證(“ want”)或需要客戶端認證(“ need”)。需要一個信任庫。需要自定義的management.port。
management.ssl.enabled = #啓用SSL支持。需要自定義的management.port。
management.ssl.enabled-protocols = #啓用的SSL協議。需要自定義的management.port。
management.ssl.key-alias = #別名,用於標識密鑰庫中的密鑰。需要自定義的management.port。
management.ssl.key-password = #用於訪問密鑰庫中密鑰的密碼。需要自定義的management.port。
management.ssl.key-store = #持有SSL證書(通常是jks文件)的密鑰存儲的路徑。需要自定義的management.port。
management.ssl.key-store-password =#用於訪問密鑰庫的密碼。需要自定義的management.port。
management.ssl.key-store-provider = #密鑰庫的提供者。需要自定義的management.port。
management.ssl.key-store-type = #密鑰庫的類型。需要自定義的management.port。
management.ssl.protocol = TLS #要使用的SSL協議。需要自定義的management.port。
management.ssl.trust-store = #持有SSL證書的信任庫。需要自定義的management.port。
management.ssl.trust-store-password = #用於訪問信任庫的密碼。需要自定義的management.port。
management.ssl.trust-store-provider =#信任庫的提供者。需要自定義的management.port。
management.ssl.trust-store-type = #信任庫的類型。需要自定義的management.port。

#HEALTH INDICATORS 
management.health.db.enabled = true #啓用數據庫運行狀況檢查。
management.health.cassandra.enabled = true #啓用cassandra健康檢查。
management.health.couchbase.enabled = true #啓用沙發牀健康檢查。
management.health.defaults.enabled = true #啓用默認運行狀況指示器。
management.health.diskspace.enabled = true #啓用磁盤空間運行狀況檢查。
management.health.diskspace.path = #用於計算可用磁盤空間的路徑。
management.health.diskspace.threshold = 0 #應該可用的最小磁盤空間,以字節爲單位。
management.health.elasticsearch.enabled = true #啓用Elasticsearch運行狀況檢查。
management.health.elasticsearch.indices = #逗號分隔的索引名稱。
management.health.elasticsearch.response-timeout = 100 #等待集羣響應的時間(以毫秒爲單位)。
management.health.jms.enabled = true #啓用JMS健康檢查。
management.health.ldap.enabled = true #啓用LDAP健康檢查。
management.health.mail.enabled = true #啓用郵件運行狀況檢查。
management.health.mongo.enabled = true #啓用MongoDB健康檢查。
management.health.rabbit.enabled= true #啓用RabbitMQ健康檢查。
management.health.redis.enabled = true #啓用Redis健康檢查。
management.health.solr.enabled = true #啓用Solr健康檢查。
management.health.status.order = DOWN,OUT_OF_SERVICE,UP,未知#以嚴重程度順序的逗號分隔的健康狀態列表。

#信息貢獻者(InfoContributorProperties)
 management.info.build.enabled = true #啓用構建信息。
management.info.defaults.enabled = true #啓用默認信息提供者。
management.info.env.enabled = true #啓用環境信息。
management.info.git.enabled = true #啓用git信息。
management.info.git.mode =簡單#用於公開git信息的模式。

#遠程外殼(ShellProperties)
 management.shell.auth.type =簡單#身份驗證類型。根據環境自動檢測。
management.shell.auth.jaas.domain =我的域#JAAS域。
management.shell.auth.key.path = #驗證密鑰的路徑。這應該指向一個有效的“ .pem”文件。
management.shell.auth.simple.user.name =用戶#登錄用戶。
management.shell.auth.simple.user.password = #登錄密碼。
management.shell.auth.spring.roles = ACTUATOR #登錄到CRaSH控制檯所需的角色的逗號分隔列表。
management.shell.command-path-patterns= classpath *:/ commands / **,classpath *:/ crash / commands / ** #用於查找命令的模式。
management.shell.command-refresh-interval = -1 #掃描更改並在必要時更新命令(以秒爲單位)。
management.shell.config-path-patterns = classpath *:/ crash / * #用於查找配置的模式。
management.shell.disabled-commands = jpa *,jdbc *,jndi * #禁用的逗號分隔命令列表。
management.shell.disabled-plugins = #要禁用的插件的逗號分隔列表。默認情況下,根據環境禁用某些插件。
management.shell.ssh.auth-timeout =#提示用戶再次登錄的毫秒數。
management.shell.ssh.enabled = true #啓用CRaSH SSH支持。
management.shell.ssh.idle-timeout = #關閉未使用的連接之後的毫秒數。
management.shell.ssh.key-path = #SSH服務器密鑰的路徑。
management.shell.ssh.port = 2000 #SSH端口。
management.shell.telnet.enabled = false #啓用CRaSH telnet支持。如果TelnetPlugin可用,則默認情況下啓用。
management.shell.telnet.port = 5000 #Telnet端口。

#跟蹤(TraceProperties)
 management.trace.include =請求標頭,響應標頭,cookie,錯誤#要包含在跟蹤中的項目。

#METRICS EXPORT(MetricExportProperties)
 spring.metrics.export.aggregate.key-pattern = #告訴聚合器如何處理源存儲庫中密鑰的模式。
spring.metrics.export.aggregate.prefix = #全局存儲庫的前綴(如果處於活動狀態)。
spring.metrics.export.delay-millis = 5000 #導出刻度之間的延遲(以毫秒爲單位)。指標會在此延遲下按計劃導出到外部源。
spring.metrics.export.enabled = true #啓用度量標準導出的標誌(假設MetricWriter可用)。
spring.metrics.export.excludes = #要排除的指標名稱的模式列表。在包含之後應用。
spring.metrics.export.includes = #要包含的度量標準名稱的模式列表。
spring.metrics.export.redis.key = keys.spring.metrics #
 Redis 存儲庫導出的密鑰(如果已激活)。spring.metrics.export.redis.prefix = spring.metrics #
 Redis 存儲庫的前綴(如果已激活)。spring.metrics.export.send-latest = #基於不導出不變的度量值而關閉所有可用的優化的標誌。
spring.metrics.export.statsd.host = #statsd服務器的主機,用於接收導出的指標。
spring.metrics.export.statsd.port = 8125 #statsd服務器的端口,用於接收導出的度量。
spring.metrics.export.statsd.prefix = #statsd導出指標的前綴。
spring.metrics.export.triggers。* = #每個MetricWriter Bean名稱的特定觸發器屬性。


#---------------------------------------- 
#開發人員屬性
#----- -----------------------------------

#DEVTOOLS(DevToolsProperties)
 spring.devtools.livereload.enabled = true #啓用livereload.com兼容服務器。
spring.devtools.livereload.port = 35729 #服務器端口。
spring.devtools.restart.additional-exclude = #應當從觸發完全重啓中排除的其他模式。
spring.devtools.restart.additional-paths = #監視更改的其他路徑。
spring.devtools.restart.enabled = true #啓用自動重啓。
spring.devtools.restart.exclude = META-INF / maven / **,META-INF / resources / **,resources / **,static / **,public / **,模板/ **,** / * Test.class,** / * Tests.class,git.properties#應從觸發完全重啓的模式中排除。
spring.devtools.restart.poll-interval = 1000 #在輪詢類路徑更改之間等待的時間(以毫秒爲單位)。
spring.devtools.restart.quiet-period = 400 #觸發重新啓動之前,無需更改任何類路徑,所需的安靜時間(以毫秒爲單位)。
spring.devtools.restart.trigger-file = #更改後將觸發重新啓動檢查的特定文件的名稱。如果未指定,則任何類路徑文件更改都將觸發重新啓動。

#REMOTE DEVTOOLS(RemoteDevToolsProperties)
 spring.devtools.remote.context-path = /。~~ spring-boot!〜#用於處理遠程連接的上下文路徑。
spring.devtools.remote.debug.enabled = true #啓用遠程調試支持。
spring.devtools.remote.debug.local-port = 8000 #本地遠程調試服務器端口。
spring.devtools.remote.proxy.host = #用於連接到遠程應用程序的代理主機。
spring.devtools.remote.proxy.port = #用於連接到遠程應用程序的代理的端口。
spring.devtools.remote.restart.enabled = true #啓用遠程重啓。
spring.devtools.remote.secret = #建立連接所需的共享機密(啓用遠程支持所必需)。
spring.devtools.remote.secret-header-name = X-AUTH-TOKEN #用於傳輸共享密鑰的HTTP標頭。


#---------------------------------------- 
#測試屬性
#----- -----------------------------------

spring.test.database.replace = any #要替換的現有數據源的類型。
spring.test.mockmvc.print = default #MVC打印選項。

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章