前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >spring boot 配置属性大全(2)

spring boot 配置属性大全(2)

作者头像
gemron的空间
修改2020-02-24 14:30:31
3.7K0
修改2020-02-24 14:30:31
举报
文章被收录于专栏:gemrongemron

6.交易属性

默认值

描述

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.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

true

是否使用并发连接验证。

spring.jta.atomikos.datasource.default-isolation-level

池提供的连接的默认隔离级别。

spring.jta.atomikos.datasource.login-timeout

0

建立数据库连接的超时时间(以秒为单位)。

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.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

正常关闭(无强制)应等待多长时间才能完成事务。

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

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

事务管理器的唯一名称。默认为机器的IP地址。如果计划对一个数据库运行多个事务管理器,则必须将此属性设置为唯一值。

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

false

事务管理器是否应允许混合XA和非XA事务。

spring.jta.bitronix.connectionfactory.apply-transaction-timeout

false

登记XAResource时是否应设置事务超时。

spring.jta.bitronix.connectionfactory.automatic-enlisting-enabled

true

资源是否应自动入伍和退市。

spring.jta.bitronix.connectionfactory.cache-producers-consumers

true

生产者和消费者是否应该被缓存。

spring.jta.bitronix.connectionfactory.class-name

XA资源的基础实现类名称。

spring.jta.bitronix.connectionfactory.defer-connection-release

true

提供程序是否可以在同一连接上运行许多事务并支持事务交织。

spring.jta.bitronix.connectionfactory.disabled

false

是否禁用此资源,这意味着暂时禁止从其资源池获取连接。

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-pool-size

0

池的最大大小。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

false

从池中获取连接时是否应该测试连接。

spring.jta.bitronix.connectionfactory.two-pc-ordering-position

1

此资源在两阶段提交期间应占据的位置(始终首先是Integer.MIN_VALUE,始终最后是Integer.MAX_VALUE)。

spring.jta.bitronix.connectionfactory.unique-name

jmsConnectionFactory

恢复期间用于标识资源的唯一名称。

spring.jta.bitronix.connectionfactory.use-tm-join

true

启动XAResources时是否应使用TMJOIN。

spring.jta.bitronix.connectionfactory.user

用于连接到JMS提供程序的用户。

spring.jta.bitronix.datasource.acquire-increment

1

扩展池时要创建的连接数。

spring.jta.bitronix.datasource.acquisition-interval

1

在获取无效的连接之后,尝试再次获取连接之前等待的时间(以秒为单位)。

spring.jta.bitronix.datasource.acquisition-timeout

30

从池中获取连接的超时(以秒为单位)。

spring.jta.bitronix.datasource.allow-local-transactions

false

事务管理器是否应允许混合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

false

是否禁用此资源,这意味着暂时禁止从其资源池获取连接。

spring.jta.bitronix.datasource.driver-properties

应该在基础实现上设置的属性。

spring.jta.bitronix.datasource.enable-jdbc4-connection-test

false

从池中获取连接时是否调用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

建立数据库连接的超时时间(以秒为单位)。

spring.jta.bitronix.datasource.max-idle-time

60

时间(以秒为单位),之后从池中清除连接。

spring.jta.bitronix.datasource.max-pool-size

0

池的最大大小。0表示没有限制。

spring.jta.bitronix.datasource.min-pool-size

0

池的最小大小。

spring.jta.bitronix.datasource.prepared-statement-cache-size

0

准备好的语句缓存的目标大小。0禁用缓存。

spring.jta.bitronix.datasource.share-transaction-connections

false

是否可以在事务上下文中共享处于ACCESSIBLE状态的连接。

spring.jta.bitronix.datasource.test-query

返回之前用于验证连接的SQL查询或语句。

spring.jta.bitronix.datasource.two-pc-ordering-position

1

此资源在两阶段提交期间应占据的位置(始终首先是Integer.MIN_VALUE,始终最后是Integer.MAX_VALUE)。

spring.jta.bitronix.datasource.unique-name

dataSource

恢复期间用于标识资源的唯一名称。

spring.jta.bitronix.datasource.use-tm-join

true

启动XAResources时是否应使用TMJOIN。

spring.jta.bitronix.properties.allow-multiple-lrc

false

是否允许多个LRC资源加入同一笔交易。

spring.jta.bitronix.properties.asynchronous2-pc

false

是否启用异步执行两阶段提交。

spring.jta.bitronix.properties.background-recovery-interval-seconds

60

在后台运行恢复过程的时间间隔(以秒为单位)。

spring.jta.bitronix.properties.current-node-only-recovery

true

是否仅恢复当前节点。如果您在相同的JMS和JDBC资源上运行事务管理器的多个实例,则应启用该功能。

spring.jta.bitronix.properties.debug-zero-resource-transaction

false

是否记录在没有单个登记资源的情况下执行的事务的创建和提交调用堆栈。

spring.jta.bitronix.properties.default-transaction-timeout

60

默认交易超时,以秒为单位。

spring.jta.bitronix.properties.disable-jmx

false

是否启用JMX支持。

spring.jta.bitronix.properties.exception-analyzer

设置要使用的异常分析器实现的标准名称。

spring.jta.bitronix.properties.filter-log-status

false

是否启用日志过滤,以便仅写入必需日志。

spring.jta.bitronix.properties.force-batching-enabled

true

磁盘力是否为批次。

spring.jta.bitronix.properties.forced-write-enabled

true

是否将日志强制插入磁盘。

spring.jta.bitronix.properties.graceful-shutdown-interval

60

TM在关闭事务之前中止事务之前等待事务完成的最大秒数。

spring.jta.bitronix.properties.jndi-transaction-synchronization-registry-name

TransactionSynchronizationRegistry的JNDI名称。

spring.jta.bitronix.properties.jndi-user-transaction-name

UserTransaction的JNDI名称。

spring.jta.bitronix.properties.journal

disk

期刊名称。可以是“ disk”,“ null”或类名。

spring.jta.bitronix.properties.log-part1-filename

btm1.tlog

日记的第一部分的名称。

spring.jta.bitronix.properties.log-part2-filename

btm2.tlog

日记的第二个片段的名称。

spring.jta.bitronix.properties.max-log-size-in-mb

2

日志片段的最大大小(以兆字节为单位)。

spring.jta.bitronix.properties.resource-configuration-filename

ResourceLoader配置文件名。

spring.jta.bitronix.properties.server-id

必须唯一标识此TM实例的ASCII ID。默认为机器的IP地址。

spring.jta.bitronix.properties.skip-corrupted-logs

false

跳过损坏的事务日志条目。仅在一对损坏的文件才能恢复时,才可以在万不得已时使用。

spring.jta.bitronix.properties.warn-about-zero-resource-transaction

true

是否为没有单个登记资源执行的事务记录警告。

spring.jta.enabled

true

是否启用JTA支持。

spring.jta.log-dir

事务日志目录。

spring.jta.transaction-manager-id

事务管理器的唯一标识符。

spring.transaction.default-timeout

默认交易超时。如果未指定持续时间后缀,则将使用秒。

spring.transaction.rollback-on-commit-failure

是否在提交失败时回滚。

7.数据迁移属性

默认值

描述

spring.flyway.baseline-description

<< Flyway Baseline >>

应用基线时用于标记现有模式的描述。

spring.flyway.baseline-on-migrate

false

迁移非空模式时是否自动调用基线。

spring.flyway.baseline-version

1

执行基线时用于标记现有架构的版本。

spring.flyway.batch

执行时是否批处理SQL语句。需要Flyway Pro或Flyway Enterprise。

spring.flyway.check-location

true

是否检查迁移脚本位置是否存在。

spring.flyway.clean-disabled

false

是否禁用数据库清理。

spring.flyway.clean-on-validation-error

false

发生验证错误时是否自动调用clean。

spring.flyway.connect-retries

0

尝试连接到数据库时的最大重试次数。

spring.flyway.enabled

true

是否启用飞行路线。

spring.flyway.encoding

UTF-8

SQL迁移的编码。

spring.flyway.error-overrides

内置错误处理规则可以覆盖特定的SQL状态和错误代码。需要Flyway Pro或Flyway Enterprise。

spring.flyway.group

false

应用它们时是否在同一事务中将所有未完成的迁移分组在一起。

spring.flyway.ignore-future-migrations

true

读取架构历史记录表时是否忽略将来的迁移。

spring.flyway.ignore-ignored-migrations

false

读取架构历史记录表时是否忽略忽略的迁移。

spring.flyway.ignore-missing-migrations

false

读取架构历史记录表时是否忽略丢失的迁移。

spring.flyway.ignore-pending-migrations

false

读取架构历史记录表时是否忽略挂起的迁移。

spring.flyway.init-sqls

获取连接后立即执行以初始化连接的SQL语句。

spring.flyway.installed-by

记录在架构历史记录表中的用户名已应用了迁移。

spring.flyway.license-key

Flyway Pro或Flyway Enterprise的许可证密钥。

spring.flyway.locations

classpath:db/migration

迁移脚本的位置。可以包含特殊的“ {vendor}”占位符以使用特定于供应商的位置。

spring.flyway.mixed

false

是否允许在同一迁移中混合使用事务性和非事务性语句。

spring.flyway.oracle-sqlplus

是否启用对Oracle SQL * Plus命令的支持。需要Flyway Pro或Flyway Enterprise。

spring.flyway.oracle-sqlplus-warn

遇到尚未支持的Oracle SQL * Plus语句时是否发出警告而不是错误。需要Flyway Pro或Flyway Enterprise。

spring.flyway.out-of-order

false

是否允许迁移顺序混乱。

spring.flyway.password

要迁移的数据库的登录密码。

spring.flyway.placeholder-prefix

${

迁移脚本中占位符的前缀。

spring.flyway.placeholder-replacement

true

在迁移脚本中执行占位符替换。

spring.flyway.placeholder-suffix

}

迁移脚本中占位符的后缀。

spring.flyway.placeholders.*

占位符及其替换以应用于sql迁移脚本。

spring.flyway.repeatable-sql-migration-prefix

R

可重复SQL迁移的文件名前缀。

spring.flyway.schemas

由Flyway管理的方案名称(区分大小写)。

spring.flyway.skip-default-callbacks

false

是否跳过默认回调。如果为true,则仅使用自定义回调。

spring.flyway.skip-default-resolvers

false

是否跳过默认解析器。如果为true,则仅使用自定义解析器。

spring.flyway.sql-migration-prefix

V

SQL迁移的文件名前缀。

spring.flyway.sql-migration-separator

__

SQL迁移的文件名分隔符。

spring.flyway.sql-migration-suffixes

.sql

SQL迁移的文件名后缀。

spring.flyway.stream

执行时是否流式传输SQL迁移。需要Flyway Pro或Flyway Enterprise。

spring.flyway.table

flyway_schema_history

Flyway将使用的架构历史记录表的名称。

spring.flyway.tablespace

在其中创建架构历史记录表的表空间。使用不支持表空间的数据库时被忽略。默认为Flyway使用的连接的默认表空间。

spring.flyway.target

应考虑迁移的目标版本。

spring.flyway.url

要迁移的数据库的JDBC URL。如果未设置,则使用主要配置的数据源。

spring.flyway.user

要迁移的数据库的登录用户。

spring.flyway.validate-on-migrate

true

执行迁移时是否自动调用验证。

spring.liquibase.change-log

classpath:/db/changelog/db.changelog-master.yaml

更改日志配置路径。

spring.liquibase.contexts

以逗号分隔的要使用的运行时上下文列表。

spring.liquibase.database-change-log-lock-table

DATABASECHANGELOGLOCK

用于跟踪并发Liquibase使用情况的表的名称。

spring.liquibase.database-change-log-table

DATABASECHANGELOG

用于跟踪更改历史记录的表的名称。

spring.liquibase.default-schema

默认数据库架构。

spring.liquibase.drop-first

false

是否首先删除数据库架构。

spring.liquibase.enabled

true

是否启用Liquibase支持。

spring.liquibase.labels

以逗号分隔的要使用的运行时标签列表。

spring.liquibase.liquibase-schema

用于Liquibase对象的架构。

spring.liquibase.liquibase-tablespace

用于Liquibase对象的表空间。

spring.liquibase.parameters.*

更改日志参数。

spring.liquibase.password

要迁移的数据库的登录密码。

spring.liquibase.rollback-file

执行更新时将回滚SQL写入的文件。

spring.liquibase.test-rollback-on-update

false

在执行更新之前是否应该测试回滚。

spring.liquibase.url

要迁移的数据库的JDBC URL。如果未设置,则使用主要配置的数据源。

spring.liquibase.user

要迁移的数据库的登录用户。

8.集成属性

默认值

描述

spring.activemq.broker-url

ActiveMQ代理的URL。默认情况下自动生成。

spring.activemq.close-timeout

15s

等待关闭完成之前的时间。

spring.activemq.in-memory

true

默认代理URL是否应在内存中。忽略是否​​已指定显式代理。

spring.activemq.non-blocking-redelivery

false

在从回滚的事务重新传递消息之前是否停止消息传递。这意味着启用此功能后不会保留消息顺序。

spring.activemq.packages.trust-all

是否信任所有软件包。

spring.activemq.packages.trusted

要信任的特定软件包的列表,以逗号分隔(当不信任所有软件包时)。

spring.activemq.password

经纪人的登录密码。

spring.activemq.pool.block-if-full

true

在请求连接且池已满时是否阻止。将其设置为false会引发“ JMSException”。

spring.activemq.pool.block-if-full-timeout

-1ms

如果池仍然满,则在引发异常之前的阻塞时间。

spring.activemq.pool.enabled

false

是否应创建JmsPoolConnectionFactory而不是常规ConnectionFactory。

spring.activemq.pool.idle-timeout

30s

连接空闲超时。

spring.activemq.pool.max-connections

1

池连接的最大数量。

spring.activemq.pool.max-sessions-per-connection

500

池中每个连接的最大池会话数。

spring.activemq.pool.time-between-expiration-check

-1ms

空闲连接收回线程的两次运行之间的睡眠时间。如果为负,则不运行空闲的连接收回线程。

spring.activemq.pool.use-anonymous-producers

true

是否仅使用一个匿名“ MessageProducer”实例。将其设置为false可以在每次需要一个“ MessageProducer”时创建一个。

spring.activemq.send-timeout

0ms

等待消息的时间发送了响应。将其设置为0以永远等待。

spring.activemq.user

经纪人的登录用户。

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

0

服务器ID。默认情况下,使用自动递增计数器。

spring.artemis.embedded.topics

以逗号分隔的主题列表,用于在启动时创建。

spring.artemis.host

localhost

阿耳s弥斯经纪人主持人。

spring.artemis.mode

Artemis部署模式,默认情况下自动检测。

spring.artemis.password

经纪人的登录密码。

spring.artemis.pool.block-if-full

true

在请求连接且池已满时是否阻止。将其设置为false会引发“ JMSException”。

spring.artemis.pool.block-if-full-timeout

-1ms

如果池仍然满,则在引发异常之前的阻塞时间。

spring.artemis.pool.enabled

false

是否应创建JmsPoolConnectionFactory而不是常规ConnectionFactory。

spring.artemis.pool.idle-timeout

30s

连接空闲超时。

spring.artemis.pool.max-connections

1

池连接的最大数量。

spring.artemis.pool.max-sessions-per-connection

500

池中每个连接的最大池会话数。

spring.artemis.pool.time-between-expiration-check

-1ms

Time to sleep between runs of the idle connection eviction thread. When negative, no idle connection eviction thread runs.

spring.artemis.pool.use-anonymous-producers

true

Whether to use only one anonymous "MessageProducer" instance. Set it to false to create one "MessageProducer" every time one is required.

spring.artemis.port

61616

Artemis broker port.

spring.artemis.user

Login user of the broker.

spring.batch.initialize-schema

embedded

Database schema initialization mode.

spring.batch.job.enabled

true

Execute all Spring Batch jobs in the context on startup.

spring.batch.job.names

Comma-separated list of job names to execute on startup (for instance, `job1,job2`). By default, all Jobs found in the context are executed.

spring.batch.schema

classpath:org/springframework/batch/core/schema-@@platform@@.sql

Path to the SQL file to use to initialize the database schema.

spring.batch.table-prefix

Table prefix for all the batch meta-data tables.

spring.hazelcast.config

The location of the configuration file to use to initialize Hazelcast.

spring.integration.jdbc.initialize-schema

embedded

spring.integration.jdbc.schema

classpath:org/springframework/integration/jdbc/schema-@@platform@@.sql

Path to the SQL file to use to initialize the database schema.

spring.jms.cache.consumers

false

Whether to cache message consumers.

spring.jms.cache.enabled

true

Whether to cache sessions.

spring.jms.cache.producers

true

Whether to cache message producers.

spring.jms.cache.session-cache-size

1

Size of the session cache (per JMS Session type).

spring.jms.jndi-name

Connection factory JNDI name. When set, takes precedence to others connection factory auto-configurations.

spring.jms.listener.acknowledge-mode

Acknowledge mode of the container. By default, the listener is transacted with automatic acknowledgment.

spring.jms.listener.auto-startup

true

Start the container automatically on startup.

spring.jms.listener.concurrency

Minimum number of concurrent consumers.

spring.jms.listener.max-concurrency

Maximum number of concurrent consumers.

spring.jms.listener.receive-timeout

1s

Timeout to use for receive calls. Use -1 for a no-wait receive or 0 for no timeout at all. The latter is only feasible if not running within a transaction manager and is generally discouraged since it prevents clean shutdown.

spring.jms.pub-sub-domain

false

Whether the default destination type is topic.

spring.jms.template.default-destination

Default destination to use on send and receive operations that do not have a destination parameter.

spring.jms.template.delivery-delay

Delivery delay to use for send calls.

spring.jms.template.delivery-mode

Delivery mode. Enables QoS (Quality of Service) when set.

spring.jms.template.priority

Priority of a message when sending. Enables QoS (Quality of Service) when set.

spring.jms.template.qos-enabled

Whether to enable explicit QoS (Quality of Service) when sending a message. When enabled, the delivery mode, priority and time-to-live properties will be used when sending a message. QoS is automatically enabled when at least one of those settings is customized.

spring.jms.template.receive-timeout

Timeout to use for receive calls.

spring.jms.template.time-to-live

Time-to-live of a message when sending. Enables QoS (Quality of Service) when set.

spring.kafka.admin.client-id

ID to pass to the server when making requests. Used for server-side logging.

spring.kafka.admin.fail-fast

false

Whether to fail fast if the broker is not available on startup.

spring.kafka.admin.properties.*

Additional admin-specific properties used to configure the client.

spring.kafka.admin.ssl.key-password

Password of the private key in the key store file.

spring.kafka.admin.ssl.key-store-location

Location of the key store file.

spring.kafka.admin.ssl.key-store-password

Store password for the key store file.

spring.kafka.admin.ssl.key-store-type

Type of the key store.

spring.kafka.admin.ssl.protocol

SSL protocol to use.

spring.kafka.admin.ssl.trust-store-location

Location of the trust store file.

spring.kafka.admin.ssl.trust-store-password

Store password for the trust store file.

spring.kafka.admin.ssl.trust-store-type

Type of the trust store.

spring.kafka.bootstrap-servers

Comma-delimited list of host:port pairs to use for establishing the initial connections to the Kafka cluster. Applies to all components unless overridden.

spring.kafka.client-id

ID to pass to the server when making requests. Used for server-side logging.

spring.kafka.consumer.auto-commit-interval

Frequency with which the consumer offsets are auto-committed to Kafka if 'enable.auto.commit' is set to true.

spring.kafka.consumer.auto-offset-reset

What to do when there is no initial offset in Kafka or if the current offset no longer exists on the server.

spring.kafka.consumer.bootstrap-servers

Comma-delimited list of host:port pairs to use for establishing the initial connections to the Kafka cluster. Overrides the global property, for consumers.

spring.kafka.consumer.client-id

ID to pass to the server when making requests. Used for server-side logging.

spring.kafka.consumer.enable-auto-commit

Whether the consumer's offset is periodically committed in the background.

spring.kafka.consumer.fetch-max-wait

Maximum amount of time the server blocks before answering the fetch request if there isn't sufficient data to immediately satisfy the requirement given by "fetch-min-size".

spring.kafka.consumer.fetch-min-size

Minimum amount of data the server should return for a fetch request.

spring.kafka.consumer.group-id

Unique string that identifies the consumer group to which this consumer belongs.

spring.kafka.consumer.heartbeat-interval

Expected time between heartbeats to the consumer coordinator.

spring.kafka.consumer.isolation-level

Isolation level for reading messages that have been written transactionally.

spring.kafka.consumer.key-deserializer

Deserializer class for keys.

spring.kafka.consumer.max-poll-records

Maximum number of records returned in a single call to poll().

spring.kafka.consumer.properties.*

Additional consumer-specific properties used to configure the client.

spring.kafka.consumer.ssl.key-password

Password of the private key in the key store file.

spring.kafka.consumer.ssl.key-store-location

Location of the key store file.

spring.kafka.consumer.ssl.key-store-password

Store password for the key store file.

spring.kafka.consumer.ssl.key-store-type

Type of the key store.

spring.kafka.consumer.ssl.protocol

SSL protocol to use.

spring.kafka.consumer.ssl.trust-store-location

Location of the trust store file.

spring.kafka.consumer.ssl.trust-store-password

信任存储文件的存储密码。

spring.kafka.consumer.ssl.trust-store-type

信任库的类型。

spring.kafka.consumer.value-deserializer

值的反序列化器类。

spring.kafka.jaas.control-flag

required

登录配置的控制标志。

spring.kafka.jaas.enabled

false

是否启用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

侦听器AckMode。请参阅spring-kafka文档。

spring.kafka.listener.ack-time

ackMode为“ TIME”或“ COUNT_TIME”时,两次偏移提交之间的时间。

spring.kafka.listener.client-id

侦听器的使用者client.id属性的前缀。

spring.kafka.listener.concurrency

在侦听器容器中运行的线程数。

spring.kafka.listener.idle-event-interval

发布空闲的使用者事件之间的时间(未接收到数据)。

spring.kafka.listener.log-container-config

是否在初始化(INFO级别)期间记录容器配置。

spring.kafka.listener.missing-topics-fatal

true

如果代理中没有至少一个配置的主题,则容器是否应无法启动。

spring.kafka.listener.monitor-interval

无反应的消费者检查之间的时间。如果未指定持续时间后缀,则将使用秒。

spring.kafka.listener.no-poll-threshold

乘数应用于“ pollTimeout”,以确定使用者是否无响应。

spring.kafka.listener.poll-timeout

轮询使用者时使用的超时。

spring.kafka.listener.type

single

侦听器类型。

spring.kafka.producer.acks

生产者要求领导者在确认请求完成之前已收到的确认数。

spring.kafka.producer.batch-size

默认批次大小。小批量将使分批变得不那么普遍,并且可能会降低吞吐量(零批量将完全禁用批处理)。

spring.kafka.producer.bootstrap-servers

以逗号分隔的host:port对列表,用于建立与Kafka集群的初始连接。为生产者覆盖全球财产。

spring.kafka.producer.buffer-memory

生产者可以用来缓冲等待发送到服务器的记录的总内存大小。

spring.kafka.producer.client-id

发出请求时传递给服务器的ID。用于服务器端日志记录。

spring.kafka.producer.compression-type

生产者生成的所有数据的压缩类型。

spring.kafka.producer.key-serializer

密钥的序列化程序类。

spring.kafka.producer.properties.*

用于配置客户端的其他特定于生产者的属性。

spring.kafka.producer.retries

大于零时,启用重试失败的发送。

spring.kafka.producer.ssl.key-password

密钥库文件中私钥的密码。

spring.kafka.producer.ssl.key-store-location

密钥库文件的位置。

spring.kafka.producer.ssl.key-store-password

密钥存储文件的存储密码。

spring.kafka.producer.ssl.key-store-type

密钥库的类型。

spring.kafka.producer.ssl.protocol

要使用的SSL协议。

spring.kafka.producer.ssl.trust-store-location

信任库文件的位置。

spring.kafka.producer.ssl.trust-store-password

信任存储文件的存储密码。

spring.kafka.producer.ssl.trust-store-type

信任库的类型。

spring.kafka.producer.transaction-id-prefix

不为空时,为生产者启用事务支持。

spring.kafka.producer.value-serializer

值的序列化器类。

spring.kafka.properties.*

生产者和消费者共有的其他属性,用于配置客户端。

spring.kafka.ssl.key-password

密钥库文件中私钥的密码。

spring.kafka.ssl.key-store-location

密钥库文件的位置。

spring.kafka.ssl.key-store-password

密钥存储文件的存储密码。

spring.kafka.ssl.key-store-type

密钥库的类型。

spring.kafka.ssl.protocol

要使用的SSL协议。

spring.kafka.ssl.trust-store-location

信任库文件的位置。

spring.kafka.ssl.trust-store-password

信任存储文件的存储密码。

spring.kafka.ssl.trust-store-type

信任库的类型。

spring.kafka.streams.application-id

Kafka流了application.id属性;默认的spring.application.name

spring.kafka.streams.auto-startup

true

是否自动启动流工厂bean。

spring.kafka.streams.bootstrap-servers

Comma-delimited list of host:port pairs to use for establishing the initial connections to the Kafka cluster. Overrides the global property, for streams.

spring.kafka.streams.cache-max-size-buffering

Maximum memory size to be used for buffering across all threads.

spring.kafka.streams.client-id

ID to pass to the server when making requests. Used for server-side logging.

spring.kafka.streams.properties.*

Additional Kafka properties used to configure the streams.

spring.kafka.streams.replication-factor

The replication factor for change log topics and repartition topics created by the stream processing application.

spring.kafka.streams.ssl.key-password

Password of the private key in the key store file.

spring.kafka.streams.ssl.key-store-location

Location of the key store file.

spring.kafka.streams.ssl.key-store-password

Store password for the key store file.

spring.kafka.streams.ssl.key-store-type

Type of the key store.

spring.kafka.streams.ssl.protocol

SSL protocol to use.

spring.kafka.streams.ssl.trust-store-location

Location of the trust store file.

spring.kafka.streams.ssl.trust-store-password

Store password for the trust store file.

spring.kafka.streams.ssl.trust-store-type

Type of the trust store.

spring.kafka.streams.state-dir

Directory location for the state store.

spring.kafka.template.default-topic

Default topic to which messages are sent.

spring.rabbitmq.addresses

客户端应连接到的地址的逗号分隔列表。

spring.rabbitmq.cache.channel.checkout-timeout

如果已达到高速缓存大小,则等待获取频道的持续时间。如果为0,则始终创建一个新通道。

spring.rabbitmq.cache.channel.size

要保留在缓存中的通道数。当“检查超时”> 0时,每个连接的最大通道数。

spring.rabbitmq.cache.connection.mode

channel

spring.rabbitmq.cache.connection.size

要缓存的连接数。仅在模式为“连接”时适用。

spring.rabbitmq.connection-timeout

连接超时。将其设置为零以永远等待。

spring.rabbitmq.dynamic

true

是否创建一个AmqpAdmin bean。

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

默认情况下是否重新排队拒绝的交货。

spring.rabbitmq.listener.direct.idle-event-interval

空闲容器事件应多久发布一次。

spring.rabbitmq.listener.direct.missing-queues-fatal

false

如果容器声明的队列在代理上不可用,是否失败。

spring.rabbitmq.listener.direct.prefetch

每个使用者可以处理的未确认消息的最大数量。

spring.rabbitmq.listener.direct.retry.enabled

false

是否启用发布重试。

spring.rabbitmq.listener.direct.retry.initial-interval

1000ms

第一次和第二次尝试传递消息之间的持续时间。

spring.rabbitmq.listener.direct.retry.max-attempts

3

传递邮件的最大尝试次数。

spring.rabbitmq.listener.direct.retry.max-interval

10000ms

两次尝试之间的最大持续时间。

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.batch-size

容器要使用的批量大小,表示为物理消息的数量。

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.missing-queues-fatal

true

如果容器声明的队列在代理上不可用,是否失败;和/或如果在运行时删除一个或多个队列,是否停止容器?

spring.rabbitmq.listener.simple.prefetch

每个使用者可以处理的未确认消息的最大数量。

spring.rabbitmq.listener.simple.retry.enabled

false

是否启用发布重试。

spring.rabbitmq.listener.simple.retry.initial-interval

1000ms

第一次和第二次尝试传递消息之间的持续时间。

spring.rabbitmq.listener.simple.retry.max-attempts

3

传递邮件的最大尝试次数。

spring.rabbitmq.listener.simple.retry.max-interval

10000ms

两次尝试之间的最大持续时间。

spring.rabbitmq.listener.simple.retry.multiplier

1

应用于前一个重试间隔的乘数。

spring.rabbitmq.listener.simple.retry.stateless

true

重试是无状态还是有状态。

spring.rabbitmq.listener.type

simple

spring.rabbitmq.password

guest

登录以对代理进行身份验证。

spring.rabbitmq.port

5672

RabbitMQ端口。

spring.rabbitmq.publisher-confirm-type

确认使用的发布者类型。

spring.rabbitmq.publisher-returns

false

是否启用发布者退货。

spring.rabbitmq.requested-heartbeat

请求的心跳超时;无为零。如果未指定持续时间后缀,则将使用秒。

spring.rabbitmq.ssl.algorithm

要使用SSL算法。默认情况下,由Rabbit客户端库配置。

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证书的信任库。

spring.rabbitmq.ssl.trust-store-password

用于访问信任库的密码。

spring.rabbitmq.ssl.trust-store-type

JKS

信任库类型。

spring.rabbitmq.ssl.validate-server-certificate

true

是否启用服务器端证书验证。

spring.rabbitmq.ssl.verify-hostname

true

是否启用主机名验证。

spring.rabbitmq.template.default-receive-queue

显式指定没有接收消息的默认队列的名称。

spring.rabbitmq.template.exchange

用于发送操作的默认交换的名称。

spring.rabbitmq.template.mandatory

是否启用强制性消息。

spring.rabbitmq.template.receive-timeout

`receive()`操作超时。

spring.rabbitmq.template.reply-timeout

sendAndReceive()操作超时。

spring.rabbitmq.template.retry.enabled

false

是否启用发布重试。

spring.rabbitmq.template.retry.initial-interval

1000ms

第一次和第二次尝试传递消息之间的持续时间。

spring.rabbitmq.template.retry.max-attempts

3

传递邮件的最大尝试次数。

spring.rabbitmq.template.retry.max-interval

10000ms

两次尝试之间的最大持续时间。

spring.rabbitmq.template.retry.multiplier

1

应用于前一个重试间隔的乘数。

spring.rabbitmq.template.routing-key

用于发送操作的默认路由键的值。

spring.rabbitmq.username

guest

登录用户以对代理进行身份验证。

spring.rabbitmq.virtual-host

连接到代理时要使用的虚拟主机。

spring.webservices.path

/services

用作服务的基本URI的路径。

spring.webservices.servlet.init.*

Servlet初始化参数传递给Spring Web Services。

spring.webservices.servlet.load-on-startup

-1

加载Spring Web Services servlet的启动优先级。

spring.webservices.wsdl-locations

逗号分隔的WSDL和随附的XSD位置列表,将其公开为bean。

本文系外文翻译,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文系外文翻译前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 6.交易属性
  • 7.数据迁移属性
  • 8.集成属性
相关产品与服务
数据库
云数据库为企业提供了完善的关系型数据库、非关系型数据库、分析型数据库和数据库生态工具。您可以通过产品选择和组合搭建,轻松实现高可靠、高可用性、高性能等数据库需求。云数据库服务也可大幅减少您的运维工作量,更专注于业务发展,让企业一站式享受数据上云及分布式架构的技术红利!
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档