1. 程式人生 > >SpringBoot(一):公共配置

SpringBoot(一):公共配置

1.常用Spring Boot屬性的列表以及對使用它們的基礎類的引用2.此示例檔案僅供參考。千萬不能複製和貼上的全部內容到應用程式中。相反,只選擇您需要的屬性。 摘自:連結 版權宣告:本文由 低調小熊貓 發表於 低調小熊貓的部落格 轉載宣告:自由轉載-非商用-非衍生-保持署名,非商業轉載請註明作者及出處,商業轉載請聯絡作者本人qq:2696284032 文章連結:https://aodeng.cc/archives/springboot-yi

#---------------------------------------- 
#CORE PROPERTIES 
#----- ----------------------------------- 
debug = false #啟用除錯日誌。
trace = false #啟用跟蹤日誌。

#logGING 
logging.config = #日誌配置檔案的位置。例如,Logback的`classpath:logback.xml`。
logging.exception-conversion-word =%wEx #記錄異常時使用的轉換字。
logging.file = #日誌檔名(例如,`myapp.log`)。名稱可以是精確位置或相對於當前目錄。
logging.file.max-history = 0 #要保留的歸檔日誌檔案的最大值。僅支援預設的logback設定。
logging.file.max-size = 10MB #最大日誌檔案大小。僅支援預設的logback設定。
logging.level。* =#日誌級別嚴重等級對映。例如,`logging.level.org.springframework = DEBUG`。
logging.path = #日誌檔案的位置。例如,`/ var / log`。
logging.pattern.console = #用於輸出到控制檯的Appender模式。僅支援預設的Logback設定。
logging.pattern.dateformat = yyyy-MM-dd HH:mm:ss.SSS #日誌日期格式的Appender模式。僅支援預設的Logback設定。
logging.pattern.file = #用於輸出到檔案的Appender模式。僅支援預設的Logback設定。
logging.pattern.level =%5p #日誌級別的Appender模式。僅支援預設的Logback設定。
logging.register-shutdown-hook = false #在日誌記錄系統初始化時為其註冊一個shutdown hook。

#AOP 
spring.aop.auto =真#新增@EnableAspectJAutoProxy。
spring.aop.proxy-target-class = true #是否要建立基於子類的(CGLIB)代理(true),而不是基於標準Java介面的代理(false)。

#IDENTITY (ContextIdApplicationContextInitializer)
 spring.application.name = #應用程式名稱。

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

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

#BANNER 
spring.banner.charset = UTF-8 #橫幅檔案編碼。
spring.banner.location = classpath:banner.txt #橫幅文字資源位置。
spring.banner.image.location = classpath:banner.gif #橫幅影象檔案位置(也可以使用jpg或png)。
spring.banner.image.width = 76 #字元中的橫幅影象的寬度。
spring.banner.image.height = #crs 中橫幅影象的高度(預設基於影象高度)。
spring.banner.image.margin = 2 #字元中的左手影象邊距。
spring.banner.image.invert = false #是否應針對暗終端主題反轉影象。


#SPRING CORE spring.beaninfo.ignore = true #是否跳過BeanInfo類的搜尋。

#SPRING CACHE(CacheProperties)
 spring.cache.cache-names = #Cmama 分隔的要建立的快取名稱列表(如果底層快取管理器支援)。
spring.cache.caffeine.spec = #用於建立快取的規範。有關規格格式的更多詳細資訊,請參閱CaffeineSpec。
spring.cache.couchbase.expiration = 0ms #條目到期。預設情況下,條目永不過期。請注意,此值最終會轉換為秒。
spring.cache.ehcache.config = #用於初始化EhCache的配置檔案的位置。
spring.cache.infinispan.config = #用於初始化Infinispan的配置檔案的位置。
spring.cache.jcache.config = #用於初始化快取管理器的配置檔案的位置。
spring.cache.jcache.provider = #CachingProvider實現的完全限定名稱,用於檢索符合JSR-107的快取管理器。僅當類路徑上有多個JSR-107實現時才需要。
spring.cache.redis.cache-null-values = true #允許快取空值。
spring.cache.redis.key-prefix = #鍵字首。
spring.cache.redis.time-to-live = 0ms #條目到期。預設情況下,條目永不過期。
spring.cache.redis.use-key-prefix = true#寫入Redis時是否使用金鑰字首。
spring.cache.type = #Cache 型別。預設情況下,根據環境自動檢測。

#SPRING CONFIG  - 僅使用環境屬性(ConfigFileApplicationListener)
 spring.config.additional-location = #配置除預設值之外使用的檔案位置。
spring.config.location = #配置替換預設值的檔案位置。
spring.config.name = application #配置檔名。

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

#PROJECT INFORMATION(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 name。

#Email (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 = #STP 伺服器的登入使用者。

#APICING SETTINGS(SpringApplication)
 spring.main.banner-mode = console #模式用於在應用程式執行時顯示橫幅。
spring.main.sources = 要包含在ApplicationContext中的
#Sources (類名,包名或XML資源位置)。spring.main.web-application-type = #用於顯式請求特定型別的Web應用程式的標誌。如果未設定,則根據類路徑自動檢測。

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

#INTEREMENTIZATION (MessageSourceProperties)
 spring.messages.always-use-message-format = false #是否始終應用MessageFormat規則,甚至解析不帶引數的訊息。
spring.messages.basename = messages #逗號分隔的basenames列表(本質上是一個完全限定的類路徑位置),每個都遵循ResourceBundle約定,輕鬆支援基於斜槓的位置。
spring.messages.cache-duration = #載入的資源包檔案快取持續時間。未設定時,捆綁包將永久快取。如果未指定持續時間字尾,則將使用秒。
spring.messages.encoding = UTF-8 #訊息包編碼。
spring.messages.fallback-to-system-locale = true #如果找不到特定區域設定的檔案,是否回退到系統區域設定。
spring.messages.use-code-as-default-message = false #是否使用訊息程式碼作為預設訊息而不是丟擲“NoSuchMessageException”。僅在開發期間推薦。

#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 = #逗號分隔的有源配置檔案列表。可以通過命令列開關覆蓋。
spring.profiles.include = #無條件地啟用指定的逗號分隔的配置檔案列表(如果使用YAML,則啟用配置檔案列表)。

#Quartz排程器(QuartzProperties)
 spring.quartz.jdbc.comment字首 = - #字首在SQL初始化指令碼單行註釋。
spring.quartz.jdbc.initialize-schema = embedded #資料庫模式初始化模式。
spring.quartz.jdbc.schema = classpath:org / quartz / impl / jdbcjobstore / tables_ @ @ platform @@ .sql #用於初始化資料庫模式的SQL檔案的路徑。
spring.quartz.job-store-type = memory #Quartz作業儲存型別。
spring.quartz.properties。* = #其他Quartz Scheduler屬性。

#REACTOR (ReactorCoreProperties)
 spring.reactor.stacktrace -mode.enabled = false #Reactor 是否應該在執行時收集堆疊跟蹤資訊。

#SENDGRID(SendGridAutoConfiguration)
 spring.sendgrid.api-key = #SendGrid API金鑰。
spring.sendgrid.proxy.host = #SendGrid代理主機。
spring.sendgrid.proxy.port = #SendGrid代理埠。


#---------------------------------------- 
#WEB PROPERTIES 
#----- -----------------------------------

#EmbEDDED SERVER CONFIGURATION(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 #執行壓縮所需的最小“Content-Length”值。
server.connection超時= #聯結器在關閉連線之前等待另一個HTTP請求的時間。未設定時,將使用聯結器的特定於容器的預設值。使用值-1表示沒有(即無限)超時。
server.error.include-exception = false #包含“exception”屬性。
server.error.include-stacktrace = never #何時包含“stacktrace”屬性。
server.error.path = / error #錯誤控制器的路徑。
server.error.whitelabel.enabled = true #是否在伺服器出錯時啟用瀏覽器中顯示的預設錯誤頁面。
server.http2.enabled = false#是否啟用HTTP / 2支援,如果當前環境支援它。
server.jetty.acceptors = #要使用的接受者執行緒數。
server.jetty.accesslog.append = false #追加到日誌。
server.jetty.accesslog.date-format = dd / MMM / yyyy:HH:mm:ss Z #請求日誌的時間戳格式。
server.jetty.accesslog.enabled = false #啟用訪問日誌。
server.jetty.accesslog.extended-format = false #啟用擴充套件NCSA格式。
server.jetty.accesslog.file-date-format = #日期格式放在日誌檔名中。
server.jetty.accesslog.filename =#Log filename。如果未指定,則日誌重定向到“System.err”。
server.jetty.accesslog.locale = #請求日誌的區域設定。
server.jetty.accesslog.log-cookies = false #啟用請求cookie的記錄。
server.jetty.accesslog.log-latency = false #啟用請求處理時間的記錄。
server.jetty.accesslog.log-server = false #啟用請求主機名的日誌記錄。
server.jetty.accesslog.retention-period = 31 #刪除輪換日誌檔案之前的天數。
server.jetty.accesslog.time-zone = GMT #請求日誌的時區。
server.jetty.max-http-post-size = 0#HTTP post或put內容的最大大小(以位元組為單位)。
server.jetty.selectors = #要使用的選擇器執行緒數。
server.max-http-header-size = 0 #HTTP訊息頭的最大大小(以位元組為單位)。
server.port = 8080 #伺服器HTTP埠。
server.server-header = #用於Server響應頭的值(如果為空,則不傳送頭)。
server.use-forward-headers = #是否應將X-Forwarded- *頭應用於HttpRequest。
server.servlet.context-parameters。* = #Servlet context init引數。
server.servlet.context-path = #應用程式的上下文路徑。
server.servlet.application-display-name = application #顯示
應用程式的名稱。server.servlet.jsp.class-name = org.apache.jasper.servlet.JspServlet #JSP servlet的類名。
server.servlet.jsp.init-parameters。* = #用於配置JSP servlet的Init引數。
server.servlet.jsp.registered = true #是否已註冊JSP servlet。
server.servlet.path = / #主排程程式servlet的路徑。
server.servlet.session.cookie.comment = #會話cookie的評論。
server.servlet.session.cookie.domain = #會話cookie的域名。
server.servlet.session.cookie.http-only = 會話cookie的#“HttpOnly”標誌。
server.servlet.session.cookie.max-age = #會話cookie的最大年齡。如果未指定持續時間字尾,則將使用秒。
server.servlet.session.cookie.name = #會話cookie名稱。
server.servlet.session.cookie.path = #會話cookie的路徑。
server.servlet.session.cookie.secure = 會話cookie的#“Secure”標誌。
server.servlet.session.persistent = false #是否在重新啟動之間保留會話資料。
server.servlet.session.store-dir = #用於儲存會話資料的目錄。
server.servlet.session.timeout = #會話超時。如果未指定持續時間字尾,則將使用秒。
server.servlet.session.tracking-modes = #會話跟蹤模式(以下一項或多項:“cookie”,“url”,“ssl”)。
server.ssl.ciphers = #支援的SSL密碼。
server.ssl.client-auth = #是否需要客戶端身份驗證(“想要”)或需要(“需要”)。需要信任儲存。
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 = 0 #當所有可能的請求處理執行緒都在使用時,傳入連線請求的最大佇列長度。
server.tomcat.accesslog.buffered = true #是否緩衝輸出以使其僅定期重新整理。
server.tomcat.accesslog.directory = logs #建立日誌檔案的目錄。可以是絕對的或相對於Tomcat基礎目錄。
server.tomcat.accesslog.enabled = false #啟用訪問日誌。
server.tomcat.accesslog.file最新格式= .yyyy-MM-dd #要放在日誌檔名中的日期格式。
server.tomcat.accesslog.pattern = common #訪問日誌的格式模式。
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 = #逗號分隔的其他模式列表,這些模式匹配要忽略的TLD掃描的jar。
server.tomcat.background-processor-delay = 30s #呼叫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 = 0 #伺服器在任何給定時間接受和處理的最大連線數。
server.tomcat.max-http-header-size = 0 #HTTP訊息頭的最大大小(以位元組為單位)。
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.resource.cache-ttl = #靜態資源快取的生存時間。
server.tomcat.uri-encoding = UTF-8 #用於解碼URI的字元編碼。
server.tomcat.use-relative-redirects = #通過呼叫sendRedirect生成的HTTP 1.1和更高版本的位置標頭是使用相對還是絕對重定向。
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 = #為worker建立的I / O執行緒數。
server.undertow.eager-filter-init = true #是否應在啟動時初始化servlet過濾器。
server.undertow.max-http-post-size = 0 #HTTP 帖子內容的最大大小(以位元組為單位)。
server.undertow.worker-threads = #工作執行緒數。

#FREEMARKER(FreeMarkerProperties)
 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 = text / html #Content-Type value。
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:/ templates /#逗號分隔的模板路徑列表。
spring.freemarker.view-names = #可以解析的檢視名稱的白名單。

#GLOVY TEMPLATES(GroovyTemplateProperties)
 spring.groovy.template.allow-request-override = false #是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.allow-session-override = false #是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.groovy.template.cache = false #是否啟用模板快取。
spring.groovy.template.charset = UTF-8 #模板編碼。
spring.groovy.template.check-template-location = true#是否檢查模板位置是否存在。
spring.groovy.template.configuration。* = #請參閱GroovyMarkupConfigurer 
spring.groovy.template.content-type = text / html #Content-Type value。
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 / #Template path。
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 = #用於HTTP訊息轉換的首選JSON對映器。預設情況下,根據環境自動檢測。

#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請求中強制編碼到配置的字符集。未指定“force”時,預設為true。
spring.http.encoding.force-response =#是否在HTTP響應中強制編碼到配置的字符集。
spring.http.encoding.mapping = #用於編碼對映的Locale。

#MULTIPART (MultipartProperties)
 spring.servlet.multipart.enabled = true #是否啟用對分段上傳的支援。
spring.servlet.multipart.file-size-threshold = 0 #將檔案寫入磁碟的閾值。值可以使用字尾“MB”或“KB”分別表示兆位元組或千位元組。
spring.servlet.multipart.location = #上傳檔案的中間位置。
spring.servlet.multipart.max-file-size = 1MB #最大檔案大小。值可以使用字尾“MB”或“KB”分別表示兆位元組或千位元組。
spring.servlet.multipart.max-request-size = 10MB#最大請求大小。值可以使用字尾“MB”或“KB”分別表示兆位元組或千位元組。
spring.servlet.multipart.resolve-lazily = false #是否在檔案或引數訪問時懶惰地解析多部分請求。

#JACKSON (JacksonProperties)
 spring.jackson.date-format = #日期格式字串或完全限定的日期格式類名。例如,`yyyy-MM-dd HH:mm:ss`。
spring.jackson.default-property-inclusion = #控制序列化期間包含的屬性。配置了Jackson的JsonInclude.Include列舉中的一個值。
spring.jackson.deserialization。* = #Jackon on / off功能會影響Java物件的反序列化方式。
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 = #Jackson PropertyNamingStrategy的常數之一。也可以是PropertyNamingStrategy子類的完全限定類名。
spring.jackson.serialization。* = #Jacker on / off功能會影響Java物件的序列化方式。
spring.jackson.time-zone =#格式化日期時使用的時區。例如,“America / Los_Angeles”或“GMT + 10”。

#GSON(GsonProperties)
 spring.gson.date-format = #序列化Date物件時使用的格式。
spring.gson.disable-html-escaping = #是否禁用轉義HTML字元,如'<','>'等
.chring.gson.disable-inner-class-serialization = #是否在排除內部類時序列化。
spring.gson.enable-complex-map-key-serialization = #是否啟用複雜對映鍵(即非基元)的序列化。
spring.gson.exclude-fields-without-expose-annotation = #是否排除所有不考慮序列化或反序列化但沒有“Expose”註釋的欄位。
spring.gson.field-naming-policy = #在序列化和反序列化期間應該應用於物件欄位的命名策略。
spring.gson.generate-non-executable-json = #是否通過在輸出前新增一些特殊文字來生成不可執行的JSON。
spring.gson.lenient = #是否寬容解析不符合RFC 4627的
JSON.chring.gson.long-serialization-policy = #長和長型別的序列化策略。
spring.gson.pretty-printing = #是否輸出適合頁面的序列化JSON以進行漂亮的列印。
spring.gson.serialize-nulls = #是否序列化空欄位。

#JERSEY (JerseyProperties)
 spring.jersey.application-path = #作為應用程式基URI的路徑。如果指定,則覆蓋“@ApplicationPath”的值。
spring.jersey.filter.order = 0 #Jersey過濾鏈順序。
spring.jersey.init。* = #通過servlet或過濾器傳遞給Jersey的Init引數。
spring.jersey.servlet.load-on-startup = -1 #載入Jersey servlet的啟動優先順序。
spring.jersey.type = servlet #Jersey整合型別。

#SPRING LDAP(LdapProperties)
 spring.ldap.anonymous-read-only = false #只讀操作是否應使用匿名環境。
spring.ldap.base = #Base 字尾,所有操作都應該從中發起。
spring.ldap.base-environment。* = #LDAP 規範設定。
spring.ldap.password = #伺服器的登入密碼。
spring.ldap.urls = #伺服器的LDAP URL。
spring.ldap.username = #登入伺服器的使用者名稱。

#EmbEDDED LDAP(EmbeddedLdapProperties#EMBEDDED)
 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 #Schema (LDIF)指令碼資源引用。
spring.ldap.embedded.port = 0 #嵌入式LDAP埠。
spring.ldap.embedded.validation.enabled = true #是否啟用LDAP模式驗證。
spring.ldap.embedded.validation.schema = #自定義架構的路徑。

#MUSTACHE TEMPLATES(MustacheAutoConfiguration)
 spring.mustache.allow-request-override = false #是否允許HttpServletRequest屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.mustache.allow-session-override = false #是否允許HttpSession屬性覆蓋(隱藏)控制器生成的同名模型屬性。
spring.mustache.cache = false #是否啟用模板快取。
spring.mustache.charset = UTF-8 #模板編碼。
spring.mustache.check-template-location = true #是否檢查模板位置是否存在。
spring.mustache.content-type = text / html #Content-Type value。
spring.mustache.enabled = true #是否為此技術啟用MVC檢視解析度。
spring.mustache.expose-request-attributes = false #是否應在與模板合併之前將所有請求屬性新增到模型中。
spring.mustache.expose-session-attributes = false #是否應在與模板合併之前將所有HttpSession屬性新增到模型中。
spring.mustache.expose-spring-macro-helpers = true #是否公開一個RequestContext供Spring的巨集庫使用,名稱為“springMacroRequestContext”。
spring.mustache.prefix= classpath:/ templates / #適用於模板名稱的字首。
spring.mustache.request-context-attribute = #所有檢視的
RequestContext屬性的名稱。spring.mustache.suffix = .mustache #應用於模板名稱的字尾。
spring.mustache.view-names = #可以解析的檢視名稱的白名單。

#SPRING MVC(WebMvcProperties)
 spring.mvc.async.request-timeout = #非同步請求處理
超時之前的時間。spring.mvc.contentnegotiation.favor-parameter = false #是否應使用請求引數(預設情況下為“format”)來確定請求的媒體型別。
spring.mvc.contentnegotiation.favor-path-extension = false #是否應使用URL路徑中的路徑擴充套件來確定請求的媒體型別。
spring.mvc.contentnegotiation.media-types。* = #對映內容協商的媒體型別的副檔名。例如,yml到text / yaml。
spring.mvc.contentnegotiation.parameter-name =#啟用“favor-parameter”時要使用的查詢引數名稱。
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.message-codes-resolver-format = #格式化訊息程式碼的策略。例如,`PREFIX_ERROR_CODE`。
spring.mvc.pathmatch.use-registered-suffix-pattern = false#字尾模式匹配是否僅適用於使用“spring.mvc.contentnegotiation.media-types。*”註冊的擴充套件。
spring.mvc.pathmatch.use-suffix-pattern = false #在將模式與請求匹配時是否使用字尾模式匹配(“。*”)。
spring.mvc.servlet.load-on-startup = -1 #載入排程程式servlet的啟動優先順序。
spring.mvc.static-path-pattern = / ** #用於靜態資源的路徑模式。
spring.mvc.throw-exception-if-no-handler-found = false #如果沒有找到Handler來處理請求,是否應該丟擲“NoHandlerFoundException”。
spring.mvc.view.prefix = #Spring MVC檢視字首。
spring.mvc.view.suffix = #Spring MVC檢視字尾。

#SPRING RESOURCES HANDLING(ResourceProperties)
 spring.resources.add-mappings = true #是否啟用預設資源處理。
spring.resources.cache.cachecontrol.cache-private = #指示響應訊息是針對單個使用者的,並且不能由共享快取記憶體儲存。
spring.resources.cache.cachecontrol.cache-public = #表示任何快取都可以儲存響應。
spring.resources.cache.cachecontrol.max-age = #應該快取響應的最長時間,如果未指定持續時間字尾,則以秒為單位。
spring.resources.cache.cachecontrol.must-revalidate =#表示一旦它變得陳舊,快取不得使用響應而不用伺服器重新驗證它。
spring.resources.cache.cachecontrol.no-cache = #表示只有在與伺服器重新驗證時才能重用快取的響應。
spring.resources.cache.cachecontrol.no-store = #表示在任何情況下都不快取響應。
spring.resources.cache.cachecontrol.no-transform = #指示不應轉換響應內容的中介(快取和其他)。
spring.resources.cache.cachecontrol.proxy-revalidate = #與“must-revalidate”指令的含義相同,不同之處在於它不適用於私有快取。
spring.resources.cache.cachecontrol.s-max-age = #共享快取應快取響應的最長時間,如果未指定持續時間字尾,則以秒為單位。
spring.resources.cache.cachecontrol.stale-if-error = #遇到錯誤時可以使用響應的最長時間,如果未指定持續時間字尾,則以秒為單位。
spring.resources.cache.cachecontrol.stale-while-revalidate = #響應變為失效後可以響應的最長時間,如果未指定持續時間字尾,
則以秒為單位。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.store-type = #會話儲存型別。
spring.session.timeout = #會話超時。如果未指定持續時間字尾,則將使用秒。
spring.session.servlet.filter-order = -2147483598 #會話儲存庫過濾順序。
spring.session.servlet.filter-dispatcher-types = async,error,request #會話儲存庫過濾器排程程式型別。

#SPRING SESSION HAZELCAST(HazelcastSessionProperties)
 spring.session.hazelcast.flush-mode = on-save #sessions flush mode。
spring.session.hazelcast.map-name = spring:session:sessions #用於儲存會話的地圖的名稱。

#SPRING SESSION JDBC(JdbcSessionProperties)
 spring.session.jdbc.cleanup-cron = 0 * * * * * #cron 表示式用於過期的會話清理作業。
spring.session.jdbc.initialize-schema = embedded #資料庫模式初始化模式。
spring.session.jdbc.schema = classpath:org / springframework / session / jdbc / schema- @@ platform @ @ .SQL #的路徑SQL檔案,以用於初始化資料庫架構。
spring.session.jdbc.table-name = SPRING_SESSION #用於儲存會話的資料庫表的名稱。

#春節會議MONGODB( MongoSessionProperties)
 spring.session.mongodb.collection-name = sessions #用於儲存會話的集合名稱。

#SPRING SESSION REDIS(RedisSessionProperties)
 spring.session.redis.cleanup-cron = 0 * * * * * #Cron 表示式用於過期的會話清理作業。
spring.session.redis.flush-mode = on-save #sessions flush mode。
spring.session.redis.namespace = spring:session #用於儲存會話的金鑰的名稱空間。

#THYMELEAF(ThymeleafAutoConfiguration)
 spring.thymeleaf.cache = true #是否啟用模板快取。
spring.thymeleaf.check-template = true #在呈現模板之前是否檢查模板是否存在。
spring.thymeleaf.check-template-location = true #是否檢查模板位置是否存在。
spring.thymeleaf.enabled = true #是否為Web框架啟用Thymeleaf檢視解析。
spring.thymeleaf.enable-spring-el-compiler = false #在SpringEL表示式中啟用SpringEL編譯器。
spring.thymeleaf.encoding = UTF-8 #模板檔案編碼。
spring.thymeleaf.excluded-view-names = #逗號分隔的檢視名稱列表(允許的模式)應從解析度中排除。
spring.thymeleaf.mode = HTML #要應用於模板的模板模式。另請參見Thymeleaf的TemplateMode列舉。
spring.thymeleaf.prefix = classpath:/ templates / #在構建URL時新增字首以檢視名稱的字首。
spring.thymeleaf.reactive.chunked-mode-view-names = #逗號分隔的檢視名稱列表(允許的模式)應該是設定最大塊大小時在CHUNKED模式下執行的唯一檢視名稱。
spring.thymeleaf.reactive.full-mode-view-names =#逗號分隔的檢視名稱列表(允許的模式),即使設定了最大塊大小,也應該在FULL模式下執行。
spring.thymeleaf.reactive.max-chunk-size = 0 #用於寫入響應的資料緩衝區的最大大小(以位元組為單位)。
spring.thymeleaf.reactive.media-types = #檢視技術支援的媒體型別。
spring.thymeleaf.servlet.content-type = text / html #Content-Type寫入HTTP響應的值。
spring.thymeleaf.suffix = .html #在構建URL時附加到檢視名稱的字尾。
spring.thymeleaf.template-resolver-order = #鏈中模板解析器的順序。
spring.thymeleaf.view-名= #逗號分隔的檢視名稱列表(允許的模式),可以解析。

#SPRING WEBFLUX(WebFluxProperties)
 spring.webflux.date-format = #要使用的日期格式。例如,`dd / MM / yyyy`。
spring.webflux.static路徑圖案 = / ** #用於靜態資源的路徑模式。

#SPRING WEB SERVICES(WebServicesProperties)
 spring.webservices.path = / services #作為服務基URI的路徑。
spring.webservices.servlet.init = #Servlet init引數傳遞給Spring Web Services。
spring.webservices.servlet.load-on-startup = -1 #載入Spring Web Services servlet的啟動優先順序。
spring.webservices.wsdl-locations =#逗號分隔的WSDL位置列表以及要作為bean公開的隨附XSD。



#---------------------------------------- 
#SECURITY PROPERTIES 
#----- ----------------------------------- 
#SECURITY(SecurityProperties)
 spring.security.filter.order = -100 #安全過濾器鏈順序。
spring.security.filter.dispatcher-types = async,error,request #安全過濾器鏈排程程式型別。
spring.security.user.name = user #預設使用者名稱。
spring.security.user.password = #預設使用者名稱的密碼。
spring.security.user.roles = #授予預設使用者名稱的角色。

#SECURITY OAUTH2 CLIENT(OAuth2ClientProperties)
 spring.security.oauth2.client.provider。* = #OAuth提供商詳細資訊。
spring.security.oauth2.client.registration。* = #OAuth客戶註冊。

#---------------------------------------- 
#DATA PROPERTIES
#----- -----------------------------------

#FLYWAY (FlywayProperties)
 spring.flyway.baseline-description = #
spring.flyway.baseline-on-migrate = #
spring.flyway.baseline-version = 1 #開始遷移的版本
spring.flyway.check-location = true #是否檢查遷移指令碼位置是否存在。
spring.flyway.clean-disabled = #
spring.flyway.clean-on-validation-error = #
spring.flyway.dry-run-output = #
spring.flyway.enabled = true #是否啟用flyway。
spring.flyway.encoding = #
spring.flyway.error-handlers = #
 = #spring.flyway.password =spring.flyway.group = #
spring.flyway.ignore-future-migrations = #
spring.flyway.ignore-missing-migrations = #
spring.flyway.init-sqls = #在獲取連線後立即執行以初始化連線的SQL語句。
spring.flyway.installed-by = #
spring.flyway.locations = classpath:db / migration #遷移指令碼的位置。
spring.flyway.mixed = #
spring.flyway.out-of-order #如果你想讓Flyway建立自己的DataSource,可以使用JDBC密碼。spring.flyway.placeholder-prefix = #


spring.flyway.placeholder-replacement = #
spring.flyway.placeholder-suffix = #
spring.flyway.placeholders。* = #
spring.flyway.repeatable-sql-migration-prefix = #
spring.flyway.schemas = #schemas to update 
spring.flyway.skip-default-callbacks = #
spring.flyway.skip-default-resolvers = #
spring.flyway.sql-migration-prefix = V #
spring.flyway.sql-migration -separator =#
spring.flyway.sql-migration-suffix = .sql #
spring.flyway.sql-migration-suffixes = #
spring.flyway.table = #
spring.flyway.target = #
spring.flyway.undo-sql-migration-prefix = #
spring.flyway.url = 要遷移的資料庫的JDBC url。如果未設定,則使用主要配置的資料來源。
spring.flyway.user = #要遷移的資料庫的登入使用者。
spring.flyway.validate-on-migrate = #

#LIQUIBASE(LiquibaseProperties)
 spring.liquibase.change-log = classpath:/db/changelog/db.changelog-master.yaml# 更改日誌配置路徑。
spring.liquibase.check-change-log-location = true #是否檢查更改日誌位置是否存在。
spring.liquibase.contexts = #逗號分隔的執行時上下文列表。
spring.liquibase.default-schema = #預設資料庫模式。
spring.liquibase.drop-first = false #是否首先刪除資料庫模式。
spring.liquibase.enabled  = true #是否啟用Liquibase支援。spring.liquibase.labels =#要使用的以逗號分隔的執行時標籤列表。spring.liquibase.parameters。* =

#更改日誌引數。
spring.liquibase.password = #要遷移的資料庫的登入密碼。
spring.liquibase.rollback-file = #執行更新時寫入回滾SQL的檔案。
spring.liquibase.url = #JDBC要遷移的資料庫的URL。如果未設定,則使用主要配置的資料來源。
spring.liquibase.user = #要遷移的資料庫的登入使用者。

#COUCHBASE(CouchbaseProperties)
 spring.couchbase.bootstrap-hosts = #Couchbase節點(主機或IP地址)來自bootstrap。
spring.couchbase.bucket.name = default #要連線的儲存桶的名稱。
spring.couchbase.bucket.password =   #桶的密碼。
spring.couchbase.env.endpoints.key-value = 1 #每個節點對金鑰/值服務的套接字數。
spring.couchbase.env.endpoints.queryservice.min-endpoints = 1 #每個節點的最小套接字數。
spring.couchbase.env.endpoints.queryservice.max-endpoints = 1 #每個節點的最大套接字數。
spring.couchbase.env.endpoints.viewservice.min-endpoints = 1 #每個節點的最小套接字數。
spring.couchbase.env.endpoints.viewservice.max-endpoints = 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 = 5000ms #Bucket連線超時。
spring.couchbase.env.timeouts.key-value = 2500ms #阻止對特定金鑰超時執行的操作。
spring.couchbase.env.timeouts.query = 7500ms #N1QL查詢操作超時。
spring.couchbase.env.timeouts.socket-connect = 1000ms #Socket 連線超時。
spring.couchbase.env.timeouts.view = 7500ms #常規和地理空間檢視操作超時。

#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 = #Socket 選項:連線超時。
spring.data.cassandra.consistency-level = #查詢一致性級別。
spring.data.cassandra.contact-points = localhost #群集節點地址。
spring.data.cassandra.fetch-size = #查詢預設提取大小。
spring.data.cassandra.keyspace-name = #要使用的Keyspace名稱。
spring.data.cassandra.load-balancing-policy =#負載均衡策略的類名稱。
spring.data.cassandra.port = #Cassandra 伺服器的埠。
spring.data.cassandra.password = #伺服器的登入密碼。
spring.data.cassandra.pool.heartbeat-interval = 30s #Heartbeat interval ,在空閒連線上傳送訊息以確保它仍然存在。如果未指定持續時間字尾,則將使用秒。
spring.data.cassandra.pool.idle-timeout  = 120s #刪除空閒連線之前的空閒超時。如果未指定持續時間字尾,則將使用秒。spring.data.cassandra.pool.max-queue-size = 256#如果沒有可用的連線,則排隊的最大請求數。spring.data.cassandra.pool.pool-timeout = 5000ms #嘗試從主機池獲取連線時的池超時。spring.data.cassandra.read超時


 =選項:讀取超時。
spring.data.cassandra.reconnection-policy = #重新連線策略類。
spring.data.cassandra.repositories.type = auto #要啟用的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.type = auto #要啟用的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 = #資料庫名稱。
spring.data.mongodb.field-naming-strategy = #要使用的FieldNamingStrategy的完全限定名稱。
spring.data.mongodb.grid-fs-database = #GridFS資料庫名稱。
spring.data.mongodb.host = #Mongo 伺服器主機。無法使用URI設定。
spring.data.mongodb.password = #mongo 伺服器的登入密碼。無法使用URI設定。
spring.data.mongodb.port = #Mongo 伺服器埠。無法使用URI設定。
spring.data.mongodb.repositories.type = auto #要啟用的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.auto-index = none #自動索引模式。
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 = 驅動程式使用的#URL 。預設情況下自動檢測。
spring.data.neo4j.username = #伺服器的登入使用者。

#DATA REST(RepositoryRestProperties)
 spring.data.rest.base-path = #Spring Data REST用於公開儲存庫資源的基本路徑。
spring.data.rest.default-media-type = #未指定時用作預設值的內容型別。
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 host。如果設定了“zk-host”,則忽略。
spring.data.solr.repositories.enabled = true #是否啟用Solr儲存庫。
spring.data.solr.zk-host = #ZooKeeper主機地址,格式為HOST:PORT。

#DATA WEB(SpringDataWebProperties)
 spring.data.web.pageable.default頁大小 = 20 #預設頁大小。
spring.data.web.pageable.max-page-size = 2000 #要接受的最大頁面大小。
spring.data.web.pageable.one-indexed-parameters = false #是否公開和假設從1開始的頁碼索引。
spring.data.web.pageable.page-parameter = page #頁面索引引數名稱。
spring.data.web.pageable.prefix = #常用字首,用於頁碼和頁面大小引數。
spring.data.web.pageable.qualifier-delimiter = _#限定符與實際頁碼和大小屬性之間使用的分隔符。
spring.data.web.pageable.size-parameter = size #頁面大小引數名稱。
spring.data.web.sort.sort-parameter = sort #排序引數名稱。

#DATASOURCE (DataSourceAutoConfiguration&DataSourceProperties)
 spring.datasource.continue-on-error = false #初始化資料庫時是否發生錯誤時停止。
spring.datasource.data = #Data (DML)指令碼資源引用。
spring.datasource.data-username = #用於執行DML指令碼的資料庫
的使用者名稱(如果不同)。spring.datasource.data-password = #執行DML指令碼的資料庫的密碼(如果不同)。
spring.datasource.dbcp2。* = #Commons DBCP2特定設定#JDBC
 spring.datasource.driver-class-name =#JDBC驅動程式的完全限定名稱。預設情況下,基於URL自動檢測。
spring.datasource.name =spring.datasource.generate-unique-name = false #是否生成隨機資料來源名稱。
spring.datasource.hikari。* = #Hikari 特定設定
spring.datasource.initialization-mode = embedded #使用可用的DDL和DML指令碼初始化資料來源。
spring.datasource.jmx-enabled = false #是否啟用JMX支援(如果由底層池提供)。
spring.datasource.jndi-name = #JNDI資料來源的位置。設定時將忽略類,URL,使用者名稱和密碼。
#資料來源的名稱。使用嵌入式資料庫時預設為“testdb”。spring.datasource.password =
#資料庫的登入密碼。
spring.datasource.platform = all #在DDL或DML指令碼中使用的平臺(例如架構 -  $ {platform} .sql或data  -  $ {platform} .sql)。
spring.datasource.schema = #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 資料來源完全限定名稱。
#傳遞給XA資料來源的屬性。spring.datasource.xa.properties =

#JEST (Elasticsearch HTTP客戶端)(JestProperties)
 spring.elasticsearch.jest.connection-timeout = 3s #連線超時。
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 = 3s #讀取超時。
spring.elasticsearch.jest.uris = 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 #是否啟用遠端訪問。

#InfluxDB(InfluxDbProperties)
 spring.influx.password = #登入密碼。
spring.influx.url = 要連線的InfluxDB例項的URL。
spring.influx.user = #登入使用者。

#JOOQ (JooqProperties)
 spring.jooq.sql-dialect = #SQL 方言使用。預設情況下自動檢測。

#JDBC (JdbcProperties)
 spring.jdbc.template.fetch-size = -1 #需要更多行時應從資料庫中提取的行數。
spring.jdbc.template.max-rows = -1 #最大行數。
spring.jdbc.template.query-timeout = #查詢超時。預設是使用JDBC驅動程式的預設配置。如果未指定持續時間字尾,則將使用秒。

#JPA (JpaBaseConfiguration,HibernateJpaAutoConfiguration)
 spring.data.jpa.repositories.enabled = true #是否啟用JPA儲存庫。
spring.jpa.database = #要操作的目標資料庫,預設情況下自動檢測。也可以使用“databasePlatform”屬性進行設定。
spring.jpa.database-platform = #要操作的目標資料庫的名稱,預設情況下自動檢測。也可以使用“Database”列舉來設定。
spring.jpa.generate-ddl = false #是否在啟動時初始化架構。
spring.jpa.hibernate.ddl-auto =#DDL模式。這實際上是“hibernate.hbm2ddl.auto”屬性的快捷方式。使用嵌入式資料庫時未預設為“create-drop”且未檢測到架構管理器。否則,預設為“none”。
spring.jpa.hibernate.naming.implicit-strategy = #隱式命名策略的完全限定名稱。
spring.jpa.hibernate.naming.physical-strategy = #物理命名策略的完全限定名稱。
spring.jpa.hibernate.use-new-id-generator-mappings = #是否將Hibernate的較新的IdentifierGenerator用於AUTO,TABLE和SEQUENCE。
spring.jpa.mapping-resources = #Mapping資源(相當於persistence.xml中的“mapping-file”條目)。
彈簧。= true#註冊OpenEntityManagerInViewInterceptor。將JPA EntityManager繫結到執行緒以進行整個請求處理。
spring.jpa.properties。* = #要在JPA提供程式上設定的其他本機屬性。
spring.jpa.show -sql = false #是否啟用SQL語句的日誌記錄。

#JTA (JtaAutoConfiguration)
 spring.jta.enabled = true #是否啟用JTA支援。
spring.jta.log-dir = #Transaction logs目錄。
spring.jta.transaction-manager-id = #Transaction manager唯一識別符號。

#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.max-idle-time = 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 #借用連線的reap超時(以秒為單位)。0表示沒有限制。
spring.jta.atomikos.connectionfactory.unique-resource-name = jmsConnectionFactory#用於在恢復期間標識資源的唯一名稱。
spring.jta.atomikos.connectionfactory.xa-connection-factory-class-name = #XAConnectionFactory的供應商特定實現。
spring.jta.atomikos.connectionfactory.xa-properties = #供應商特定的XA屬性。
spring.jta.atomikos.datasource.borrow-connection-timeout = 30 #從池中借用連線的超時(以秒為單位)。
spring.jta.atomikos.datasource.concurrent-connection-validation = #是否使用併發連線驗證。
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 #借用連線的reap超時(以秒為單位)。0表示沒有限制。
spring.jta.atomikos.datasource.test-query = #用於在返回連線之前驗證連線的SQL查詢或語句。
spring.jta.atomikos.datasource.unique-resource-name = dataSource #用於在恢復期間標識資源的唯一名稱。
spring.jta.atomikos.datasource.xa-data-source-class-name = #XAConnectionFactory的供應商特定實現。
spring.jta.atomikos.datasource.xa-properties = #供應商特定的XA屬性。
spring.jta.atomikos.properties.allow-sub-transactions = true #指定是否允許子事務。
spring.jta.atomikos.properties.checkpoint-interval = 500 #檢查點之間的間隔,表示為兩個檢查點之間的日誌寫入次數。
spring.jta.atomikos.properties.default-jta-timeout = 10000ms #JTA 事務的預設超時。
spring.jta.atomikos.properties.default-max-wait-time-on-shutdown = 9223372036854775807 #正常關閉(no-force)等待事務完成的時間。
spring.jta.atomikos.properties.enable-logging = true #是否啟用磁碟日誌記錄。
spring.jta.atomikos.properties.force-shutdown-on-vm-exit = false #VM關閉#VM是否應該關閉事務核心的強制關閉。
spring.jta.atomikos.properties.log-base-dir = #應儲存日誌檔案的目錄。
spring.jta.atomikos.properties.log-base-name = tmlog #Transactions日誌檔案基名。
spring.jta.atomikos.properties.max-actives = 50 #最大活動事務數。
spring.jta.atomikos.properties.max-timeout = 300000ms #事務允許的最大超時時間。
spring.jta.atomikos.properties.recovery.delay = 10000ms #兩次恢復掃描之間的延遲。
spring.jta.atomikos.properties.recovery.forget- orphaned -log-entries-delay = 86400000ms #恢復之後的延遲可以清除掛起('孤立')日誌條目。
spring.jta.atomikos.properties.recovery.max-retries = 5 #在丟擲異常之前提交事務的重試次數。
spring.jta.atomikos.properties.recovery.retry-interval = 10000ms #重試嘗試之間的延遲。
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-producer-consumers = true #是否應該快取生產者和消費者。
spring.jta.bitronix.connectionfactory.class-name = #XA 資源的底層實現類名。
spring.jta.bitronix.connectionfactory.defer-connection-release = true #提供程式是否可以在同一連線上執行許多事務並支援事務交錯。
spring.jta.bitronix.connectionfactory.disabled=#是否禁用此資源,意味著暫時禁止從其池中獲取連線。
spring.jta.bitronix.connectionfactory.driver-properties = #應在底層實現上設定的屬性。
spring.jta.bitronix.connectionfactory.failed = #將此資源生成器標記為失敗。
spring.jta.bitronix.connectionfactory.ignore-recovery-failures = false #是否應忽略恢復失敗。
spring.jta.bitronix.connectionfactory.max-idle-time = 60 #從池中清除連線的時間(以秒為單位)。
spring.jta.bitronix.connectionfactory.max池大小 = 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排序位置 = 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.class-name = #XA 資源的底層實現類名。
spring.jta.bitronix.datasource.cursor-holdability = #連線的預設游標可保持性。
spring.jta.bitronix.datasource.defer-connection-release = true #資料庫是否可以在同一連線上執行多個事務並支援事務交錯。
spring.jta.bitronix.datasource.disabled = #是否禁用此資源,這意味著暫時禁止從其池中獲取連線。
spring.jta.bitronix.datasource.driver-properties = #應在底層實現上設定的屬性。
spring.jta.bitronix.datasource.enable -jdbc4-connection-test = #從池中獲取連線時是否呼叫Connection.isValid()。
spring.jta.bitronix.datasource.failed = #將此資源生成器標記為失敗。
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的超時時間 =#建立資料庫連線的超時時間(秒)。
 = falsespring.jta.bitronix.datasource.max-idle-time = 60 #從池中清除連線的時間(以秒為單位)。
spring.jta.bitronix.datasource.max-pool-size = 10 #池的最大大小