Daniel Stieglitz created NIFI-16031:
---------------------------------------
Summary: Replace org.springframework.data.redis.connection
RedisStringCommands deprecated set method with other suggested set method
Key: NIFI-16031
URL: https://issues.apache.org/jira/browse/NIFI-16031
Project: Apache NiFi
Issue Type: Improvement
Reporter: Daniel Stieglitz
Assignee: Daniel Stieglitz
As seen in the logs
{code:java}
2026-06-19T01:30:47.0978350Z [WARNING]
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-redis-bundle/nifi-redis-extensions/src/main/java/org/apache/nifi/redis/service/SimpleRedisDistributedMapCacheClientService.java:[153,121]
[deprecation] SetOption in RedisStringCommands has been deprecated
2026-06-19T01:30:47.1006790Z [WARNING]
/home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-redis-bundle/nifi-redis-extensions/src/main/java/org/apache/nifi/redis/service/SimpleRedisDistributedMapCacheClientService.java:[153,44]
[deprecation] set(byte[],byte[],Expiration,SetOption) in RedisStringCommands
has been deprecated {code}
org.springframework.data.redis.connection RedisStringCommands has a deprecated
set method and suggest replacing it with another set method as seen
[here|https://docs.spring.io/spring-data/redis/reference/api/java/org/springframework/data/redis/connection/RedisStringCommands.html#set(byte%5B%5D,byte%5B%5D,org.springframework.data.redis.core.types.Expiration,org.springframework.data.redis.connection.RedisStringCommands.SetOption)]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)