Uploaded image for project: 'Spring Data Redis'
  1. Spring Data Redis
  2. DATAREDIS-914

Allow Lettuce's ClusterClientOptions validateClusterNodeMembership to be set via application properties

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Lettuce Driver
    • Labels:
      None

      Description

      By default Lettuce enables the property validateClusterNodeMembership (described in the Lettuce wiki). There are valid cases (again described in the wiki) for disabling this property and as per this response to a GitHub issues from the project's maintainer, it is not necessarily a security issue to turn the property off. 

      Currently, to turn this property off you have to provide your own LettuceClientConfiguration built via it's builder and supply the ClientOptions. This seems to overwrite a number of configuration classes that spring-data-redis creates in its own AutoConfiguration support.

      Would it be possible to add support for a property something like spring,data.redis.lettuce.validateClusterNodeMembership to override the default value of true?

        Attachments

          Activity

            People

            • Assignee:
              mp911de Mark Paluch
              Reporter:
              mxw120 Matt Williams
              Last updater:
              Mark Paluch
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: