日韩av黄I国产麻豆传媒I国产91av视频在线观看I日韩一区二区三区在线看I美女国产在线I麻豆视频国产在线观看I成人黄色短片

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 >

application.properties amp;amp;amp; application.yml 配置文件详解(转)

發布時間:2025/3/15 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 application.properties amp;amp;amp; application.yml 配置文件详解(转) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
#COMMON SPRING BOOT PROPERTIES ## 提供此示例文件作為指導。請勿將其 全部 復制到您自己的應用程序。^^^ #============================================ =====================#---------------------------------------- #CORE PROPERTIES #----- -----------------------------------#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 = #左手圖像邊距在chars(默認2) banner.image.invert = #如果圖像應該為暗終端主題反轉(默認為false)#LOGGING logging.config = #記錄配置文件的位置。例如對于Logback logging的`classpath:logback.xml` logging.exception-conversion-word =%wEx #記錄異常時使用的轉換字。 logging.file = #記錄文件名。例如`myapp.log` logging.level。* = #日志級別嚴重性映射。例如`logging.level.org.springframework = DEBUG` logging.path = #日志文件的位置。例如`/ var / log` logging.pattern.console = #用于輸出到控制臺的Appender模式。只支持默認的logback設置。 logging.pattern.file =#用于輸出到文件的Appender模式。只支持默認的logback設置。 logging.pattern.level = #日志級別的Appender模式(默認%5p)。只支持默認的logback設置。 logging.register-shutdown-hook = false #記錄系統初始化時注冊一個關閉掛鉤。#AOP spring.aop.auto =真#添加@EnableAspectJAutoProxy。 spring.aop.proxy-target-class = true #是否要創建基于子類(CGLIB)的代理(true),而不是基于標準的基于Java接口的代理(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 #應用程序的JMX名稱M??Bean。#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.infinispan.config = #用于初始化Infinispan的配置文件的位置。 spring.cache.jcache.config= #用于初始化緩存管理器的配置文件的位置。 spring.cache.jcache.provider = #用于檢索符合JSR-107的緩存管理器的CachingProvider實現的完全限定名稱。只有在類路徑上有多個JSR-107實現可用時才需要。 spring.cache.type = #緩存類型,默認情況下根據環境自動檢測。#SPRING CONFIG - 僅使用環境屬性(ConfigFileApplicationListener)spring.config.location = #配置文件位置。 spring.config.name = application #配置文件名。#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名稱。#Email (MailProperties)spring.mail.default-encoding = UTF-8 #默認MimeMessage編碼。 spring.mail.host = #SMTP服務器主機。例如`smtp.example.com` spring.mail.jndi-name = #Session JNDI name。設置時,優先于其他郵件設置。 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服務器的用戶。#APPLICATION SETTINGS(SpringApplication)spring.main.banner-mode = console #應用程序運行時用于顯示橫幅的模式。 spring.main.sources = #要包含在ApplicationContext中的源(類名,包名或XML資源位置)。 spring.main.web-application-type = #標志顯式請求特定類型的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#設置是否返回到系統區域設置,如果沒有找到特定語言環境的文件。 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 = #(如果使用YAML或列表)的逗號分隔列表活性譜。 spring.profiles.include = #無條件地激活指定的逗號分隔的配置文件(或使用YAML的配置文件列表)。#Quartz調度(QuartzProperties)spring.quartz.job-存儲型 =存儲器#石英作業存儲類型。 spring.quartz.properties。* = #額外的Quartz Scheduler屬性。 spring.quartz.jdbc.initialize-schema = embedded #數據庫模式初始化模式。 spring.quartz.jdbc.schema = classpath:org / quartz / impl / jdbcjobstore / tables_ @ @ platform @ @ .sql #用于初始化數據庫模式的SQL文件的路徑。#反應堆 spring.reactor.stacktrace-mode.enabled =假#組反應器是否應該收集在運行時堆棧跟蹤信息。#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 #執行壓縮所需的最小響應大小。 server.connection-timeout =#連接器在關閉連接之前等待另一個HTTP請求的時間(以毫秒為單位)。未設置時,將使用連接器的容器特定默認值。使用-1表示no(即無限)超時。 server.display-name = application #顯示 應用程序的名稱。server.max-http-header-size = 0 #HTTP消息頭的最大大小(以字節為單位)。 server.error.include-exception = false #包含“異常”屬性。 server.error.include-stacktrace = never #何時包含“stacktrace”屬性。 server.error.path = / error #錯誤控制器的路徑。 server.error.whitelabel.enabled= true #啟用瀏覽器中出現服務器錯誤時顯示的默認錯誤頁面。 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 =#日志文件名。如果未指定,日志將被重定向到“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發布或放置內容的最大大小(以字節為單位)。 server.jetty.selectors = #要使用的選擇器線程數。 server.port = 8080 #Server HTTP端口。 server.server-header = #用于服務器響應頭的值(沒有頭發送,如果為空) server.use-forward-headers = #如果X-Forwarded- *頭應該應用于HttpRequest。 server.servlet.context-parameters。* = #Servlet context init參數server.servlet.context-path = #應用程序的上下文路徑。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.session.cookie.comment = #注釋會話cookie。 server.session.cookie.domain = #會話cookie的域。 server.session.cookie.http-only = #“HttpOnly”會話cookie的標志。 server.session.cookie.max-age = #會話cookie的最大年齡(以秒為單位)。 server.session.cookie.name = #會話cookie名稱。 server.session.cookie.path = #會話cookie的路徑。 server.session.cookie.secure = #“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 = #客戶端認證是否需要(“想”)或需要(“需要”)。需要信托商店。 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店提供商= 關鍵商店的提供商。 server.ssl.key-store-type = #密鑰存儲的類型。 server.ssl.protocol = TLS #SSL協議使用。 server.ssl.trust-store = #保存SSL證書的Trust存儲。 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 base dir或absolute。 server.tomcat.accesslog.enabled = false #啟用訪問日志。 server.tomcat.accesslog.file-date-format = .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 = 30 #在調用backgroundProcess方法之間以秒為單位的延遲。 server.tomcat.basedir =#Tomcat基本目錄。如果未指定,將使用臨時目錄。 server.tomcat.internal-proxies = 10 \\。\\ d {1,3} \\。\\ d {1,3} \\。\\ d {1,3} | \\。192 \\ 168 \\e{1,3} \\e{1,3} | \\。169 \\ 254 \\e{1,3} \\e{1,3} | \\。127 \\e{1,3} \\e{1,3} \\e{1,3} | \\172 \\ 1 [6-9] {1} \\e{1,3} \\e{1,3} |。。\\172 \\ 2 [0-9] {1} \\e{1,3} \\e{1,3} |。。\\172 \\。3 [0-1] {1} \\。\\ d {1,3} \\。\\ d {1,3} #正則表達式匹配可信IP地址。 server.tomcat.max-connections = #服務器在任何給定時間接受和處理的最大連接數。 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.uri-encoding = UTF-8 #用于解碼URI的字符編碼。 server.undertow.accesslog.dir = #訪問日志目錄。 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.eager-filter-init = true #啟動時是否應初始化servlet篩選器。 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 = text / 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 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 = #可以解決的視圖名稱的白名單。#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 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 #指定應用程序/ 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 = #編碼映射的區域設置。#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 #是否在文件或參數訪問時懶惰地解析multipart請求。#JACKSON (JacksonProperties)spring.jackson.date-format = #日期格式字符串或全限定日期格式類名。例如`yyyy-MM-dd HH:mm:ss`。 spring.jackson.default-property-inclusion = #控制序列化期間屬性的包含。 spring.jackson.deserialization * = #影響Java對象反序列化方式的杰克遜開/關功能。 spring.jackson.generator。* = #發生器的杰克遜開/關功能。 spring.jackson.joda-date-time-format = #Joda日期時間格式字符串。如果未配置,如果配置了格式字符串,則“日期格式”將用作后備。 spring.jackson.locale = #用于格式化的區域設置。 spring.jackson.mapper。* = #Jackson通用開/關功能。 spring.jackson.parser。* = #解析器的杰克遜開/關功能。 spring.jackson.property-naming-strategy = #Jackson的PropertyNamingStrategy的一個常量。也可以是PropertyNamingStrategy子類的完全限定類名。 spring.jackson.serialization。* = #影響Java對象序列化方式的杰克遜開/關功能。 spring.jackson.time-zone = #格式化日期時使用的時區。例如`America / Los_Angeles`#JERSEY (JerseyProperties)spring.jersey.application-path = #作為應用程序的基本URI的路徑。如果指定,則覆蓋“@ApplicationPath”的值。 spring.jersey.filter.order = 0 #澤西過濾器鏈序。 spring.jersey.init。* = #Init參數通過servlet或過濾器傳遞給澤西。 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 #Schema(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 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.date-format = #要使用的日期格式。例如`dd / MM / yyyy`。 spring.mvc.dispatch-trace-request = false #向FrameworkServlet doService方法發送TRACE請求。 spring.mvc.dispatch-options-request = true #向FrameworkServlet doService方法發送OPTIONS請求。 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視圖后綴。#SPRING RESOURCES HANDLING(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 #啟用已經gzip壓縮資源的解析。 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-位置= classpath:/ META-INF / resources /,classpath:/ resources /,classpath:/ static /,classpath:/ public / #靜態資源的位置。#SPRING SESSION(SessionProperties)spring.session.store-type = #會話存儲類型。 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.initialize-schema = embedded #數據庫模式初始化模式。 spring.session.jdbc.schema = classpath:org / springframework / session / jdbc / schema- @ @ platform @ @ .sql #用于初始化數據庫模式的SQL文件的路徑。 spring.session.jdbc.table-name = SPRING_SESSION #用于存儲會話的數據庫表名稱。#SPRING SESSION MONGODB(MongoSessionProperties)spring.session.mongodb.collection-name = sessions #用于存儲會話的集合名稱。#SPRING SESSION REDIS(RedisSessionProperties)spring.session.redis.flush-mode = on-save #Sessions flush模式。 spring.session.redis.namespace = #用于存儲會話的密鑰的命名空間。#SPRING SOCIAL(SocialWebAutoConfiguration)spring.social.auto-connection-views = false #啟用支持的提供程序的連接狀態視圖。#SPRING SOCIAL FACEBOOK(FacebookAutoConfiguration)spring.social.facebook.app-id = #您的應用程序的Facebook應用程序ID spring.social.facebook.app-secret = #您的應用程序的Facebook應用程序秘密#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應用程序ID spring.social.twitter.app-secret = #你的應用程序的Twitter應用程序秘密#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.encoding = UTF-8 #模板文件編碼。 spring.thymeleaf.excluded-view-names = #應該從解決方案中排除的視圖名稱的逗號分隔列表。 spring.thymeleaf.mode = HTML5#模板模板應用于模板。另請參見StandardTemplateModeHandlers。 spring.thymeleaf.prefix = classpath:/ templates / #在構建URL時預先查看名稱的前綴。 spring.thymeleaf.reactive.max-chunk-size = #用于寫入響應的數據緩沖區的最大大小(以字節為單位)。 spring.thymeleaf.reactive.media-types = #視圖技術支持的媒體類型。 spring.thymeleaf.servlet.content-type = text / html #內容類型值寫入HTTP響應。 spring.thymeleaf.suffix = .html #構建URL時附加查看名稱的后綴。 spring.thymeleaf.template-resolver-order =#鏈中模板解析器的順序。 spring.thymeleaf.view-names = #可以解析的視圖名稱的逗號分隔列表。#SPRING WEB FLUX(WebFluxProperties)spring.webflux.static-path-pattern = / ** #用于靜態資源的路徑模式。#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和附帶的XSD的位置列表,作為bean公開。#---------------------------------------- #安全屬性 #----- ----------------------------------- #SECURITY(SecurityProperties)spring.security.filter.order = 0 #安全過濾器連鎖訂單。 spring.security.filter.dispatcher-types = ASYNC,ERROR,REQUEST #安全過濾器鏈調度程序類型。#SECURITY OAUTH2 CLIENT(OAuth2ClientProperties)spring.security.oauth2.client.provider。* = #OAuth提供者詳細信息。 spring.security.oauth2.client.registration。* = #OAuth客戶端注冊。#---------------------------------------- #DATA PROPERTIES #----- -----------------------------------#FLYWAY (FlywayProperties)spring.flyway.allow-mixed-migrations = # spring.flyway.baseline-description = # spring.flyway.baseline-on-migrate = # spring.flyway.baseline-version = 1 #版本開始遷移 spring.flyway.check-location = false #檢查遷移腳本位置是否存在。 spring.flyway.clean-disabled = # spring.flyway.clean-on-validation-error = # spring.flyway.enabled = true #啟用飛行路線。 spring.flyway.encoding = # spring.flyway.group= # spring.flyway.ignore-failed-future-migration = # 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 = # spring.flyway.password = #JDBC 密碼,如果您希望Flyway 創建自己的DataSource 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來更新 spring.flyway.skip-default-callbacks = # spring.flyway.skip-default-resolvers = # spring.flyway.sql-migration -prefix = V # spring.flyway.sql遷移分離器 = # spring.flyway.sql-migration-suffix = .sql # spring.flyway.table = # spring.flyway.target = # 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 #啟用液堿支持。 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地址)從中引導。 spring.couchbase.bucket.name = default #要連接到的桶的名稱。 spring.couchbase.bucket.password = #桶的密碼。 spring.couchbase.env.endpoints.key-value = 1 #針對Key / Value服務的每個節點的套接字數。 spring.couchbase.env.endpoints.query = 1 #針對Query(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.pool.heartbeat-interval = 30 #在空閑連接上發送消息的心跳間隔(以秒為單位),以確保它仍然存在。 spring.data.cassandra.pool.idle-timeout = 120 #空閑連接被刪除之前的空閑超時(以秒為單位)。 spring.data.cassandra.pool.max-queue-size = 256#沒有連接可用時,入隊的最大請求數。 spring.data.cassandra.pool.pool-timeout = 5000 #嘗試從主機池獲取連接時,池超時(以毫秒為單位)。 spring.data.cassandra.reactive-repositories.enabled = true #啟用Cassandra反應庫。 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.reactive-repositories.enabled = true #啟用Mongo反應庫。 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.auto-index = none #自動索引模式。 spring.data.neo4j.embedded.enabled = true #如果嵌入式驅動程序可用,啟用嵌入式模式。 spring.data.neo4j.open-in-view = false #注冊OpenSessionInViewInterceptor。綁定一個Neo4j會話到線程的整個處理請求。 spring.data.neo4j.password = #登錄服務器的密碼。 spring.data.neo4j.repositories.enabled = true #啟用Neo4j存儲庫。 spring.data.neo4j.uri = #驅動程序使用的URI。默認情況下自動檢測。 spring.data.neo4j.username= #登錄用戶的服務器。#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。#DATA WEB(SpringDataWebProperties)spring.data.web.pageable.default頁大小 = 20 #缺省頁大小。 spring.data.web.pageable.page-parameter = page #頁面索引參數名稱。 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 = #數據(DML)腳本資源引用。 spring.datasource.data-username = #數據庫用戶執行DML腳本(如果不同)。 spring.datasource.data-password = #執行DML腳本(如果不同)的數據庫密碼。 spring.datasource.dbcp2。* = #Commons 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位置。設置時,類,網址,用戶名和密碼將被忽略。 spring.datasource.name = testdb #數據源的名稱。 spring.datasource.password= #登錄數據庫的密碼。 spring.datasource.platform =所有#在DDL或DML腳本中使用的平臺(例如模式 - $ {platform} .sql或數據 - $ {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數據源完全限定名稱。spring.datasource.xa.properties = #傳遞給XA數據源的屬性。#JEST (Elasticsearch HTTP client)(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 #以毫秒讀取超時。 spring.elasticsearch.jest.uris= http:// localhost:9200 #要使用的彈性搜索實例的逗號分隔列表。 spring.elasticsearch.jest.username = #登錄用戶。#H2 Web Console(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 (JooqAutoConfiguration)spring.jooq.sql-dialect = #使用Sql方言,默認情況下自動檢測。#JDBC (JdbcProperties)spring.jdbc.template.fetch-size = -1 #當需要更多行時,應從數據庫中獲取的行數。 spring.jdbc.template.max-rows = -1 #最大行數。 spring.jdbc.template.query-timeout = -1 #以秒為單位的查詢超時。#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”屬性的快捷方式。使用嵌入式數據庫時默認為“創建刪除”,沒有檢測到模式管理器,否則為“否”。 spring.jpa.hibernate.naming.implicit-strategy = #Hibernate 5隱式命名策略完全限定名。 spring.jpa.hibernate.naming.physical-strategy = #Hibernate 5物理命名策略完全限定名。 spring.jpa.hibernate.use-new-id-generator-mappings = #使用Hibernate的較新的IdentifierGenerator進行AUTO,TABLE和SEQUENCE。 spring.jpa.open-in-view = true #注冊OpenEntityManagerInViewInterceptor。 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 = #事務管理器唯一標識符。#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 #借用連接的收獲超時(以秒為單位)。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.allow-sub-transactions = true #指定是否允許子事務。 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.recovery.delay = 10000 #兩次恢復掃描之間延遲。 spring.jta.atomikos.properties.recovery.forget孤兒的日志條目延遲= 86400000 #延遲之后恢復可以清除掛起('孤立')日志條目。 spring.jta.atomikos.properties.recovery.max-retries = 5 #在拋出異常之前重試嘗試提交事務的次數。 spring.jta.atomikos.properties.recovery.retry-interval = 10000 #重試嘗試之間的延遲。 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-consumer = 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啟動XAResource時是否應使用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啟動XAResource時是否應使用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零資源事務 =假#日志的創建和提交沒有一個單一的士兵資源執行的事務調用堆棧。 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 = #oplog的最大大小(兆字節)。 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 = #從“主機:端口”對的逗號分隔列表。 spring.redis.database = 0 #連接工廠使用的數據庫索引。 spring.redis.url = #連接URL,將覆蓋主機,端口和密碼(用戶將被忽略),例如redis:// user:password@example.com :6379 spring.redis.host = localhost #Redis服務器主機。 spring.redis.jedis.pool.max-active = 8#給定時間池可以分配的最大連接數。使用負值為無限制。 spring.redis.jedis.pool.max-idle = 8 #池中“空閑”連接的最大數量。使用負值來表示無限數量的空閑連接。 spring.redis.jedis.pool.max-wait = -1 #連接分配在池耗盡時拋出異常之前應阻止的最大時間(以毫秒為單位)。使用負值無限期地阻止。 spring.redis.jedis.pool.min-idle = 0 #在池中維護的最小空閑連接數目標。此設置只有在正值時才有效果。 spring.redis.lettuce.pool.max-active = 8#給定時間池可以分配的最大連接數。使用負值為無限制。 spring.redis.lettuce.pool.max-idle = 8 #池中最大“空閑”連接數。使用負值來表示無限數量的空閑連接。 spring.redis.lettuce.pool.max-wait = -1 #連接分配在池耗盡時拋出異常之前應阻止的最大時間(以毫秒為單位)。使用負值無限期地阻止。 spring.redis.lettuce.pool.min-idle = 0 #在池中維護的最小空閑連接數目標。此設置只有在正值時才有效果。 spring.redis.lettuce.shutdown-timeout = 100#關閉超時(以毫秒為單位)。 spring.redis.password = #登錄redis服務器的密碼。 spring.redis.port = 6379 #Redis服務器端口。 spring.redis.sentinel.master = #Redis服務器的名稱。 spring.redis.sentinel.nodes = #主機:端口對的逗號分隔列表。 spring.redis.ssl = false #啟用SSL支持。 spring.redis.timeout = 0 #連接超時(以毫秒為單位)。#TRANSACTION (TransactionProperties)spring.transaction.default-timeout = #默認事務超時(以秒為單位)。 spring.transaction.rollback-on-commit-failure = #在提交失敗時執行回滾。#---------------------------------------- #INTEGRATION PROPERTIES #----- -----------------------------------#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 #發生“JMSException”時重置連接。 spring.activemq.pool.time-between-expiration-check = -1 #空閑連接逐出線程的運行之間的睡眠時間(以毫秒為單位)。當為負時,沒有空閑連接驅逐線程運行。 spring.activemq.pool.use-anonymous-producer = 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.initialize-schema = embedded #數據庫模式初始化模式。 spring.batch.job.enabled = true #在啟動時執行上下文中的所有Spring批處理作業。 spring.batch.job.names = #在啟動時執行的作業名稱的逗號分隔列表(例如`job1,job2`)。默認情況下,執行在上下文中找到的所有作業。 spring.batch.schema = classpath:org / springframework / batch / core / schema- @ @ platform @ @ .sql #用于初始化數據庫模式的SQL文件的路徑。 spring.batch.table-prefix =#所有批次元數據表的表前綴。#SPRING INTEGRATION(IntegrationProperties)spring.integration.jdbc.initialize-schema = embedded #數據庫模式初始化模式。 spring.integration.jdbc.schema = classpath:org / springframework / integration / jdbc / schema- @ @ platform @ @ .sql #用于初始化數據庫模式的SQL文件的路徑。#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.admin.client-id = #Id在發出請求時傳遞給服務器; 用于服務器端日志記錄。 spring.kafka.admin.fail-fast = false #如果代理在啟動時不可用,則快速失敗。 spring.kafka.admin.properties。* = #用于配置客戶端的附加管理專用屬性。 spring.kafka.admin.ssl.key-password = #密鑰存儲文件中的私鑰密碼。 spring.kafka.admin.ssl.keystore-location = #密鑰存儲文件的位置。 spring.kafka.admin.ssl.keystore-password = #存儲密鑰存儲文件的密碼。 spring.kafka.admin.ssl.truststore-location = #信任存儲文件的位置。 spring.kafka.admin.ssl.truststore-password = #存儲信任存儲文件的密碼。 spring.kafka.bootstrap-servers = #用于建立與Kafka集群的初始連接的主機:端口對的逗號分隔列表。 spring.kafka.client-id = #在發出請求時傳遞給服務器的Id; 用于服務器端日志記錄。 spring.kafka.consumer.auto-commit-interval = #如果“enable.auto.commit”為真,則以毫秒為單位的消費者偏移量自動提交給Kafka的頻率。 spring.kafka.consumer.auto-offset-reset =#當Kafka中沒有初始偏移量時,或如果當前??偏移量在服務器上不再存在,該怎么辦? spring.kafka.consumer.bootstrap-servers = #用于建立與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.properties。* = #用于配置客戶端的其他用戶特定屬性。 spring.kafka.consumer.ssl.key-password = #密鑰存儲文件中的私鑰密碼。 spring.kafka.consumer.ssl.keystore-location = #密鑰存儲文件的位置。 spring.kafka.consumer.ssl.keystore-password = #存儲密鑰存儲文件的密碼。 spring.kafka.consumer.ssl.truststore-location = #信任存儲文件的位置。 spring.kafka.consumer.ssl.truststore-password = #存儲信任存儲文件的密碼。 spring.kafka.consumer.value-deserializer = #解串器類的值。 spring.kafka.jaas.control-flag = required #登錄配置的控制標志。 spring.kafka.jaas.enabled = #啟用JAAS配置。 spring.kafka.jaas.login-module = com.sun.security.auth.module.Krb5LoginModule #登錄模塊。 spring.kafka.jaas.options = #附加的JAAS選項。 spring.kafka.listener.ack-count = #當ackMode為“COUNT”或“COUNT_TIME”時,偏移提交之間的記錄數。 spring.kafka.listener.ack-mode = #Listener AckMode; 參見spring-kafka文件。 spring.kafka.listener.ack-time = #當ackMode為“TIME”或“COUNT_TIME”時,偏移提交之間的時間(以毫秒為單位)。 spring.kafka.listener.concurrency = #在偵聽器容器中運行的線程數。 spring.kafka.listener.poll-timeout = #輪詢消費者時使用的超時時間(以毫秒為單位)。 spring.kafka.listener.type = single #偵聽器類型。 spring.kafka.producer.acks = #生產者要求領導在考慮請求完成之前收到的確認數。 spring.kafka.producer.batch-size = #發送前要批量的記錄數。 spring.kafka.producer.bootstrap的服務器= #用于建立與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.properties。* = #用于配置客戶端的其他特定于生產者的屬性。 spring.kafka.producer.retries = #當大于零時,可以重試失敗的發送。 spring.kafka.producer.ssl.key-password = #密鑰存儲文件中的私鑰密碼。 spring.kafka.producer.ssl.keystore-location = #密鑰存儲文件的位置。 spring.kafka.producer.ssl.keystore-password = #存儲密鑰存儲文件的密碼。 spring.kafka.producer.ssl.truststore-location = #信任存儲文件的位置。 spring.kafka.producer.ssl.truststore-password = #存儲信任存儲文件的密碼。 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.direct.acknowledge-mode = #容器的確認模式。 spring.rabbitmq.listener.direct.auto-startup = true #啟動時自動啟動容器。 spring.rabbitmq.listener.direct.consumers-per-queue = #每個隊列的消費者數量。 spring.rabbitmq.listener.direct.default-requeue-rejected = #默認情況下是否拒絕交付; 默認為true。 spring.rabbitmq.listener.direct.idle-event-interval =空閑容器事件應以毫秒為單位發布的頻率。 spring.rabbitmq.listener.direct.prefetch = #在單個請求中要處理的消息數。它應該大于或等于事務大小(如果使用)。 spring.rabbitmq.listener.direct.retry.enabled = false #是否啟用發布重試。spring.rabbitmq.listener.direct.retry.initial-interval = 1000 #第一次和第二次嘗試發布或傳遞消息之間的間隔。spring.rabbitmq.listener.direct.retry.max-attempts = 3 #發布或傳遞消息的最大嘗試次數。spring.rabbitmq.listener.direct.retry.max-interval = 10000#嘗試之間的最大間隔。spring.rabbitmq.listener.direct.retry.multiplier = 1 #應用于上一次重試間隔的乘數。spring.rabbitmq.listener.direct.retry.stateless = true #重試次數是否為無狀態或有狀態。 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 =#是否重新發送傳遞失敗。 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 = #在事務處理的消息數; Ack之間的消息數。為了獲得最佳結果,它應該小于或等于預取計數。 spring.rabbitmq.listener.type= simple #偵聽器容器類型。 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.key-store-type = PKCS12 #密鑰庫類型。 spring.rabbitmq.ssl.trust-store = #保存SSL證書的Trust存儲。 spring.rabbitmq.ssl.trust-store-password = #用于訪問信任存儲的密碼。 spring.rabbitmq.ssl.trust-store-type = JKS #信任存儲類型。 spring.rabbitmq.ssl.algorithm = #使用SSL算法。默認情況下由兔子客戶端配置。 spring.rabbitmq.template.mandatory = false #啟用強制性消息。 spring.rabbitmq.template.receive超時= 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 = #連接到代理時使用的虛擬主機。#---------------------------------------- #執業者地產 #----- -----------------------------------#Auditit事件ENDPOINT(AuditEventsEndpoint)endpoints.auditevents.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.auditevents.enabled = #啟用auditevents端點。 endpoints.auditevents.jmx.enabled = #將auditevents端點作為JMX MBean公開。 endpoints.auditevents.web.enabled = #將auditevents端點公開為Web端點。#AUTO-CONFIGURATION REPORT ENDPOINT(AutoConfigurationReportEndpoint)endpoints.autoconfig.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.autoconfig.enabled = #啟用autoconfig端點。 endpoints.autoconfig.jmx.enabled = #將自動配置端點公開為JMX MBean。 endpoints.autoconfig.web.enabled = #將autoconfig端點公開為Web端點。#BEANS ENDPOINT(BeansEndpoint)endpoints.beans.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.beans.enabled = #啟用bean端點。 endpoints.beans.jmx.enabled = #將bean端點公開為JMX MBean。 endpoints.beans.web.enabled = #將beans端點公開為Web端點。#CONFIGURATION PROPERTIES REPORT ENDPOINT(ConfigurationPropertiesReportEndpoint)endpoints.configprops.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.configprops.enabled = #啟用configprops端點。 endpoints.configprops.jmx.enabled = #將configprops端點公開為JMX MBean。 endpoints.configprops.keys-to-sanitize = password,secret,key,token,。* credentials。*,vcap_services #應該消毒的密鑰。鍵可以是屬性結束的簡單字符串或正則表達式。 endpoints.configprops.web.enabled =#將configprops端點公開為Web端點。#ENDPOINT DEFAULT SETTINGS endpoints.default.enabled = true #默認情況下啟用所有端點。 endpoints.default.jmx.enabled = true #默認情況下,將所有端點設置為JMX MBean。 endpoints.default.web.enabled = false #默認情況下,將所有端點設置為Web端點。#ENVIRONMENT ENDPOINT(EnvironmentEndpoint)endpoints.env.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.env.enabled = #啟用env端點。 endpoints.env.jmx.enabled = #將env終結點顯示為JMX MBean。 endpoints.env.keys-to-sanitize = password,secret,key,token,。* credentials。*,vcap_services #應該消毒的密鑰。鍵可以是屬性結束的簡單字符串或正則表達式。 endpoints.env.web.enabled = #將env端點公開為Web端點。#FLYWAY ENDPOINT(FlywayEndpoint)endpoints.flyway.cache.time-to-live = 0 #響應可以緩存的最大時間(以毫秒為單位)。 endpoints.flyway.enabled = #啟用飛行端點。 endpoints.flyway.jmx.enabled = #將flyway端點公開為JMX MBean。 endpoints.flyway.web.enabled = #將flyway端點作為Web端點。#HEALTH ENDPOINT(HealthEndpoint)endpoints.health.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.health.enabled = #啟用運行狀況端點。 endpoints.health.jmx.enabled = #將健康端點公開為JMX MBean。 endpoints.health.web.enabled = #將健康端點公開為Web端點。#HEAP DUMP ENDPOINT(HeapDumpWebEndpoint)endpoints.heapdump.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.heapdump.enabled = #啟用heapdump端點。 endpoints.heapdump.web.enabled = #將heapdump端點顯露為Web端點。#INFO ENDPOINT(InfoEndpoint)endpoints.info.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.info.enabled = true #啟用信息端點。 endpoints.info.jmx.enabled = true #將信息端點作為JMX MBean公開。 endpoints.info.web.enabled = true #將信息端點顯示為Web端點。#LIQUIBASE ENDPOINT(LiquibaseEndpoint)endpoints.liquibase.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.liquibase.enabled = #啟用liquibase端點。 endpoints.liquibase.jmx.enabled = #將liquibase端點暴露為JMX MBean。 endpoints.liquibase.web.enabled = #將liquibase端點公開為Web端點。#LOG FILE ENDPOINT(LogFileWebEndpoint)endpoints.logfile.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.logfile.enabled = #啟用日志文件端點。 endpoints.logfile.external-file = #要訪問的外部日志文件。如果日志文件由輸出重定向寫入,而不是由日志記錄系統本身寫入,則可以使用。 endpoints.logfile.web.enabled = #將日志文件端點公開為Web端點。#LOGGERS ENDPOINT(LoggersEndpoint)endpoints.loggers.cache.time-to-live = 0 #響應可以緩存的最大時間(以毫秒為單位)。 endpoints.loggers.enabled = #啟用記錄器端點。 endpoints.loggers.jmx.enabled = #將日志記錄端點顯露為JMX MBean。 endpoints.loggers.web.enabled = #將日志記錄端點顯露為Web端點。#REQUEST MAPPING ENDPOINT(RequestMappingEndpoint)endpoints.mappings.cache.time-to-live = 0 #響應可以緩存的最大時間(以毫秒為單位)。 endpoints.mappings.enabled = #啟用映射端點。 endpoints.mappings.jmx.enabled = #將映射端點公開為JMX MBean。 endpoints.mappings.web.enabled = #將映射端點公開為Web端點。#METRICS ENDPOINT(MetricsEndpoint)endpoints.metrics.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.metrics.enabled = #啟用度量端點。 endpoints.metrics.jmx.enabled = #將度量端點公開為JMX MBean。 endpoints.metrics.web.enabled = #將度量端點公開為Web端點。#PROMETHEUS ENDPOINT(PrometheusScrapeEndpoint)endpoints.prometheus.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.prometheus.enabled = #啟用度量端點。 endpoints.prometheus.web.enabled = #將度量端點顯露為Web端點。#SESSIONS ENDPOINT(SessionsEndpoint)endpoints.sessions.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.sessions.enabled = #啟用會話端點。 endpoints.sessions.jmx.enabled = #以JMX MBean方式顯示會話端點。 endpoints.sessions.web.enabled = #將會話端點公開為Web端點。#SHUTDOWN ENDPOINT(ShutdownEndpoint)endpoints.shutdown.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.shutdown.enabled = false #啟用關閉端點。 endpoints.shutdown.jmx.enabled = false #將關閉端點作為JMX MBean公開。 endpoints.shutdown.web.enabled = false #將關閉端點公開為Web端點。#STATUS ENDPOINT(StatusEndpoint)endpoints.status.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.status.enabled = true #啟用狀態端點。 endpoints.status.jmx.enabled = true #以JMX MBean方式顯示狀態端點。 endpoints.status.web.enabled = true #將狀態端點顯露為Web端點。#THREAD DUMP ENDPOINT(ThreadDumpEndpoint)endpoints.threaddump.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.threaddump.enabled = #啟用線程轉儲端點。 endpoints.threaddump.jmx.enabled = #將線程轉儲端點暴露為JMX MBean。 endpoints.threaddump.web.enabled = #將線程轉儲端點暴露為Web端點。#TRACE ENDPOINT(TraceEndpoint)endpoints.trace.cache.time-to-live = 0 #可以緩存響應的最大時間(以毫秒為單位)。 endpoints.trace.enabled = #啟用跟蹤端點。 endpoints.trace.jmx.enabled = #將跟蹤端點顯露為JMX MBean。 endpoints.trace.web.enabled = #將跟蹤端點顯露為Web端點。#管理HTTP SERVER(ManagementServerProperties)management.add-application-context-header = false #在每個響應中添加“X-Application-Context”HTTP頭。 management.address = #管理端點應綁定到的網絡地址。 management.context-path = #管理端點上下文路徑。例如`/ actuator` management.port = #管理端點HTTP端口。默認使用與應用程序相同的端口。配置不同的端口以使用特定于管理的SSL。 management.ssl.ciphers = #支持的SSL密碼。需要一個自定義的管理。 management.ssl.client-AUTH= #客戶端認證是否需要(“想”)或需要(“需要”)。需要信托商店。需要一個自定義的管理。 management.ssl.enabled = #啟用SSL支持。需要一個自定義的管理。 management.ssl.enabled-protocols = #啟用SSL協議。需要一個自定義的管理。 management.ssl.key-alias = #標識密鑰庫中的密鑰的別名。需要一個自定義的管理。 management.ssl.key-password = #用于訪問密鑰庫中的密鑰的密碼。需要一個自定義的管理。 management.ssl.key-store =#保存SSL證書(通常是jks文件)的密鑰存儲區的路徑。需要一個自定義的管理。 management.ssl.key-store-password = #用于訪問密鑰庫的密碼。需要一個自定義的管理。 management.ssl.key-store-provider = #密鑰存儲的提供者。需要一個自定義的管理。 management.ssl.key-store-type = #密鑰存儲的類型。需要一個自定義的管理。 management.ssl.protocol = TLS #SSL協議使用。需要一個自定義的管理。 management.ssl.trust-store = #保存SSL證書的Trust存儲。需要一個自定義的管理。 management.ssl.trust店密碼= #用于訪問信任存儲的密碼。需要一個自定義的管理。 management.ssl.trust-store-provider = #信任存儲的提供程序。需要一個自定義的管理。 management.ssl.trust-store-type = #信任存儲的類型。需要一個自定義的管理。#CLOUDFOUNDRY management.cloudfoundry.enabled = true #啟用擴展Cloud Foundry執行器端點。manage.cloudfoundry.skip-ssl-validation = false #跳過Cloud Foundry執行端點安全調用的SSL驗證。#ENDPOINTS CORS CONFIGURATION(CorsEndpointProperties)management.endpoints.cors.allow-credentials = #設置是否支持憑據。未設置時,不支持憑據。 management.endpoints.cors.allowed-headers = #在請求中允許的頭文件的逗號分隔列表。'*'允許所有標題。 management.endpoints.cors.allowed-methods = #逗號分隔的允許的方法列表。'*'允許所有方法。未設置時,默認為GET。 management.endpoints.cors.allowed-origins = #逗號分隔的允許的起始列表。'*'允許所有來源。未設置時,禁用CORS支持。 management.endpoints.cors.exposed報頭= #包含在響應中的頭文件的逗號分隔列表。 management.endpoints.cors.max-age = 1800 #客戶端可以緩存飛行前請求的響應時間(以秒為單位)。#ENDPOINTS JMX CONFIGURATION(JmxEndpointExporterProperties)management.endpoints.jmx.domain = org.springframework.boot #端點JMX域名。如果設置回退到'spring.jmx.default-domain'。 management.endpoints.jmx.static-names = false #附加靜態屬性以附加到表示端點的MBean的所有對象 名稱。management.endpoints.jmx.unique-name = false #確保在發生沖突時修改ObjectNames。#健康指標 management.health.db.enabled = true #啟用數據庫運行狀況檢查。 management.health.cassandra.enabled = true #啟用cassandra健康檢查。 management.health.couchbase.enabled = true #啟用couchbase運行狀況檢查。 management.health.defaults.enabled = true #啟用默認運行狀況指示器。 management.health.diskspace.enabled = true #啟用磁盤空間運行狀況檢查。 management.health.diskspace.path = #用于計算可用磁盤空間的路徑。 management.health.diskspace.threshold = 0 #應該可用的最小磁盤空間(以字節為單位)。 management.health.elasticsearch.enabled = true #啟用彈性搜索健康檢查。 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.neo4j.enabled= true #啟用Neo4j健康檢查。 management.health.rabbit.enabled = true #啟用RabbitMQ運行狀況檢查。 management.health.redis.enabled = true #啟用Redis健康檢查。 management.health.solr.enabled = true #啟用Solr運行狀況檢查。 management.health.status.http-mapping = #將健康狀態映射到HTTP狀態代碼。默認情況下,注冊健康狀態映射到明智的默認值(即UP映射到200)。 management.health.status.order = DOWN,OUT_OF_SERVICE,UP,UNKNOWN #按照嚴重性的順序,以逗號分隔的健康狀態列表。#INFO CONTRIBUTORS(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 = simple #使用暴露git信息的模式。#JOLOKIA(JolokiaProperties)management.jolokia.config。* = #Jolokia設置。有關詳細信息,請參閱Jolokia手冊。 management.jolokia.enabled = false #啟用Jolokia。 management.jolokia.path = / jolokia #Jolokia將可用的路徑。#TRACING(TraceProperties)management.trace.filter.enabled = true #啟用跟蹤servlet過濾器。 management.trace.include = request-headers,response-headers,cookies,errors #要包含在跟蹤中的項目。#度量 spring.metrics.atlas.enabled =真#是否啟用了不出口指標阿特拉斯的。 spring.metrics.ganglia.enabled = true #是否啟用了將指標導出到Ganglia。 spring.metrics.graphite.enabled = true #是否啟用了將指標導出到Graphite。 spring.metrics.influx.enabled = true #是否啟用了向InfluxDB導出指標。 spring.metrics.jmx.enabled = true #是否啟用了將指標導出到JMX。 spring.metrics.prometheus.enabled = true #是否啟用了向Prometheus導出指標。 spring.metrics.simple.enabled= true #是否啟用了將度量導出到簡單的內存存儲區。 spring.metrics.use-global-registry = true #自動配置的MeterRegistry實現是否應綁定到Metrics上的全局靜態注冊表 spring.metrics.web.client.record-request-percentiles = false #是否檢測默認情況下請求記錄百分位數直方圖桶。 spring.metrics.web.client.requests-metric-name = http.client.requests #發送請求的度量名稱。 spring.metrics.web.server.auto-time-requests = true Spring MVC或WebFlux處理的請求是否應該自動定時。 spring.metrics.web.server.record-request-percentiles = false #默認情況下,是否檢測到請求記錄百分位數直方圖桶。 spring.metrics.web.server.requests-metric-name = http.server.requests #接收到的請求的度量名稱。#---------------------------------------- #DEVTOOLS PROPERTIES #----- -----------------------------------#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 / **,templates / **,** /的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.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 #要替換的現有DataSource的類型。 spring.test.mockmvc.print = default #MVC打印選項。 本文轉載自http://www.miniits.com/article/application_properties.html。
感謝作者的成果,還請大家轉載時標注出處,謝謝。

總結

以上是生活随笔為你收集整理的application.properties amp;amp;amp; application.yml 配置文件详解(转)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。