[
https://issues.apache.org/jira/browse/NIFI-8128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743479#comment-17743479
]
ASF subversion and git services commented on NIFI-8128:
-------------------------------------------------------
Commit 34a6d8a0a14cdc0cb4e0e779ee63dd11942386e2 in nifi's branch
refs/heads/main from EndzeitBegins
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=34a6d8a0a1 ]
NIFI-8128 Added Sentinel Password to Redis Service
- Replaced embedded-redis and with Testcontainers for Redis integration tests
This closes #7481
Signed-off-by: David Handermann <[email protected]>
> RedisDistributedMapCacheClientService doesn't work with password protected
> sentinel
> -----------------------------------------------------------------------------------
>
> Key: NIFI-8128
> URL: https://issues.apache.org/jira/browse/NIFI-8128
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.11.4
> Reporter: DEOM Damien
> Assignee: endzeit
> Priority: Major
> Time Spent: 5.5h
> Remaining Estimate: 0h
>
>
> RedisDistributedMapCacheClientService doesn't work with password protected
> sentinel .
> Standalone mode with password works fine.
> Removing password in sentinel solves the issue
>
>
> NB: if redis has authentification, Nifi expects the password to be that of
> redis, not that of sentinel
> If redis has pwd but not sentinel, and no pwd is specified in nifi, we get
> this message:
>
> {{org.springframework.data.redis.RedisConnectionFailureException: Cannot get
> Jedis connection; nested exception is
> redis.clients.jedis.exceptions.JedisException: Could not get a resource from
> the pool}}
>
> If both redis and sentinel have the same pwd, we get this message:
>
> {{ failed to process session due to All sentinels down, cannot determine
> where is mymaster master is running...; Processor Administratively Yielded
> for 1 sec: redis.clients.jedis.exceptions.JedisConnectionException: All
> sentinels down, cannot determine where is mymaster master is running...}}
>
> The documentation should be updated to facilitate the establishment of a
> working, secured cluster.
>
> Original discussion
> [https://stackoverflow.com/questions/65412299/nifi-redis-sentinel-integration]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)