Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memcached cache: switch to AWS elasticache-java-cluster-client and add TLS support #159

Merged
merged 1 commit into from
Oct 3, 2023

Commits on Oct 3, 2023

  1. memcached cache: switch to AWS elasticache-java-cluster-client and ad…

    …d TLS support (apache#14827)
    
    This PR updates the library used for Memcached client to AWS Elasticache Client : https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-java
    
    This enables us to use the option of encrypting data in transit:
    Amazon ElastiCache for Memcached now supports encryption of data in transit
    
    For clusters running the Memcached engine, ElastiCache supports Auto Discovery—the ability for client programs to automatically identify all of the nodes in a cache cluster, and to initiate and maintain connections to all of these nodes.
    Benefits of Auto Discovery - Amazon ElastiCache
    
    AWS has forked spymemcached 2.12.1, and has since added all the patches included in 2.12.2 and 2.12.3 as part of the 1.2.0 release. So, this can now be considered as an equivalent drop-in replacement.
    
    GitHub - awslabs/aws-elasticache-cluster-client-memcached-for-java: Amazon ElastiCache Cluster Client for Java - enhanced library to connect to ElastiCache clusters.
    https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/services/elasticache/AmazonElastiCacheClient.html#AmazonElastiCacheClient--
    
    How to enable TLS with Elasticache
    
    On server side:
    https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/in-transit-encryption-mc.html#in-transit-encryption-enable-existing-mc
    
    On client side:
    GitHub - awslabs/aws-elasticache-cluster-client-memcached-for-java: Amazon ElastiCache Cluster Client for Java - enhanced library to connect to ElastiCache clusters.
    pagrawal10 committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    f62438a View commit details
    Browse the repository at this point in the history