-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Migration Guide 1.9
In 1.3, we introduced a new much more flexible datasource configuration supporting both JDBC and reactive datasources in a unified way.
Until 1.9, we still supported the deprecated configuration properties but this leads to some confusion for the users mixing both old and new configuration properties.
In 1.9, the deprecated configuration properties are gone so you need to move to the new ones: https://quarkus.io/guides/datasource .
Quarkus will warn you about any use of the old deprecated configuration properties.
The following configuration properties have been deprecated:
-
quarkus.redis.ssl
, -
quarkus.redis.database
, quarkus.redis.password
And they are all configurable via the quarkus.redis.hosts
property using a connection string in the following format:
redis://[username:password@][host][:port][/database]
.
The verbatim naming strategy previously used with Spring Boot properties extension is now replaced by the one defined in quarkus.arc.config-properties-default-naming-strategy property (with kebab
being the default).
To keep your application operating as before, perform one of the following changes:
- Set
quarkus.arc.config-properties-default-naming-strategy=verbatim
in theapplication.(yml|properties)
- Or replace the properties from verbatim style to kebab (default) or the one defined in quarkus.arc.config-properties-default-naming-strategy property.
- Kafka auto-commit is now disabled by default - you can re-enabled it using:
mp.messaging.incoming.my-channel.enable.auto.commit=true
. Enabling auto-commit sets the commit-strategy to ignore (auto-commit will do the work, not the connector) - The default commit-strategy is
latest
- you may want to switch tothrottled
to improve the consumption rate. Set it with:mp.messaging.incoming.my-channel.commit-strategy=throttled