{"action":"created","issue":{"url":"https://api.github.com/repos/redisson/redisson/issues/1419","repository_url":"https://api.github.com/repos/redisson/redisson","labels_url":"https://api.github.com/repos/redisson/redisson/issues/1419/labels{/name}","comments_url":"https://api.github.com/repos/redisson/redisson/issues/1419/comments","events_url":"https://api.github.com/repos/redisson/redisson/issues/1419/events","html_url":"https://github.com/redisson/redisson/issues/1419","id":318310292,"node_id":"MDU6SXNzdWUzMTgzMTAyOTI=","number":1419,"title":"AWS ElastiCache ClusterServersConfig DNS rediscovery failure","user":{"login":"midhunchn","id":14114987,"node_id":"MDQ6VXNlcjE0MTE0OTg3","avatar_url":"https://avatars0.githubusercontent.com/u/14114987?v=4","gravatar_id":"","url":"https://api.github.com/users/midhunchn","html_url":"https://github.com/midhunchn","followers_url":"https://api.github.com/users/midhunchn/followers","following_url":"https://api.github.com/users/midhunchn/following{/other_user}","gists_url":"https://api.github.com/users/midhunchn/gists{/gist_id}","starred_url":"https://api.github.com/users/midhunchn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/midhunchn/subscriptions","organizations_url":"https://api.github.com/users/midhunchn/orgs","repos_url":"https://api.github.com/users/midhunchn/repos","events_url":"https://api.github.com/users/midhunchn/events{/privacy}","received_events_url":"https://api.github.com/users/midhunchn/received_events","type":"User","site_admin":false},"labels":[{"id":74467160,"node_id":"MDU6TGFiZWw3NDQ2NzE2MA==","url":"https://api.github.com/repos/redisson/redisson/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/redisson/redisson/milestones/76","html_url":"https://github.com/redisson/redisson/milestone/76","labels_url":"https://api.github.com/repos/redisson/redisson/milestones/76/labels","id":3252293,"node_id":"MDk6TWlsZXN0b25lMzI1MjI5Mw==","number":76,"title":"2.12.0","description":"","creator":{"login":"mrniko","id":1104661,"node_id":"MDQ6VXNlcjExMDQ2NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1104661?v=4","gravatar_id":"","url":"https://api.github.com/users/mrniko","html_url":"https://github.com/mrniko","followers_url":"https://api.github.com/users/mrniko/followers","following_url":"https://api.github.com/users/mrniko/following{/other_user}","gists_url":"https://api.github.com/users/mrniko/gists{/gist_id}","starred_url":"https://api.github.com/users/mrniko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrniko/subscriptions","organizations_url":"https://api.github.com/users/mrniko/orgs","repos_url":"https://api.github.com/users/mrniko/repos","events_url":"https://api.github.com/users/mrniko/events{/privacy}","received_events_url":"https://api.github.com/users/mrniko/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":22,"state":"closed","created_at":"2018-04-09T12:34:26Z","updated_at":"2018-09-20T11:11:18Z","due_on":null,"closed_at":"2018-05-16T09:08:23Z"},"comments":8,"created_at":"2018-04-27T07:46:50Z","updated_at":"2018-12-08T01:56:24Z","closed_at":"2018-04-30T13:43:40Z","author_association":"NONE","body":"We are connecting to AWS ElastiCache - Redis cluster using a Route53 DNS endpoint with Redisson v3.6.5  \r\nWhen we change the cluster in the Route53 corresponding lookup change is not happening in Redisson. It is still looking up the old cluster nodes.\r\n \r\nNetty libraries used are as follows\r\n\r\n> netty-3.10.5.Final.jar\r\n> netty-buffer-4.1.17.Final.jar\r\n> netty-codec-4.1.17.Final.jar\r\n> netty-codec-dns-4.1.17.Final.jar\r\n> netty-common-4.1.17.Final.jar\r\n> netty-handler-4.1.17.Final.jar\r\n> netty-resolver-4.1.17.Final.jar\r\n> netty-resolver-dns-4.1.17.Final.jar\r\n> netty-transport-4.1.17.Final.jar\r\n\r\nSample Code\r\n```\r\n@Bean(name = \"cacheManager\")\r\n    public CacheManager cacheManager() {\r\n        RedissonSpringCacheManager redissonSpringCacheManager = null;\r\n        try {\r\n            final Map<String, CacheConfig> config = new HashMap();\r\n            redissonSpringCacheManager = new RedissonSpringCacheManager(redisCacheClientConfiguration().\r\n                    redissonClient(), config);        \r\n        } catch (Exception e) {\r\n            //\r\n        }\r\n        return redissonSpringCacheManager;\r\n    }\r\n\r\npublic RedissonClient redissonClient() {\r\n        final Config config = new Config();\r\n        config.useClusterServers()\r\n                .setIdleConnectionTimeout(cacheConfiguration.getIdleConnectionTimeout())\r\n                .setPingTimeout(cacheConfiguration.getPingTimeout())\r\n                .setConnectTimeout(cacheConfiguration.getConnectTimeout())\r\n                .setTimeout(cacheConfiguration.getTimeout())\r\n                .setRetryAttempts(cacheConfiguration.getRetryAttempts())\r\n                .setRetryInterval(cacheConfiguration.getRetryInterval())\r\n                .setFailedSlaveReconnectionInterval(cacheConfiguration.getReconnectionTimeout())\r\n                .setFailedSlaveCheckInterval(cacheConfiguration.getFailedAttempts())\r\n                .setSubscriptionsPerConnection(cacheConfiguration.getSubscriptionsPerConnection())\r\n                .setClientName(cacheConfiguration.getClientName())\r\n                .setLoadBalancer(cacheConfiguration.getLoadBalancer())              .setMasterConnectionMinimumIdleSize(cacheConfiguration.getMasterConnectionMinimumIdleSize())\r\n                .setMasterConnectionPoolSize(cacheConfiguration.getMasterConnectionPoolSize())\r\n                .setReadMode(cacheConfiguration.getReadMode())\r\n                .addNodeAddress(cacheConfiguration.getNodeAddress());\r\n        config.setCodec(cacheConfiguration.getCodec());\r\n        config.setEventLoopGroup(cacheConfiguration.getEventLoopGroup());\r\n        config.setUseLinuxNativeEpoll(cacheConfiguration.isUseLinuxNativeEpoll());\r\n        return Redisson.create(config);\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/redisson/redisson/issues/comments/445420389","html_url":"https://github.com/redisson/redisson/issues/1419#issuecomment-445420389","issue_url":"https://api.github.com/repos/redisson/redisson/issues/1419","id":445420389,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTQyMDM4OQ==","user":{"login":"PC-AKumar","id":19846443,"node_id":"MDQ6VXNlcjE5ODQ2NDQz","avatar_url":"https://avatars0.githubusercontent.com/u/19846443?v=4","gravatar_id":"","url":"https://api.github.com/users/PC-AKumar","html_url":"https://github.com/PC-AKumar","followers_url":"https://api.github.com/users/PC-AKumar/followers","following_url":"https://api.github.com/users/PC-AKumar/following{/other_user}","gists_url":"https://api.github.com/users/PC-AKumar/gists{/gist_id}","starred_url":"https://api.github.com/users/PC-AKumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PC-AKumar/subscriptions","organizations_url":"https://api.github.com/users/PC-AKumar/orgs","repos_url":"https://api.github.com/users/PC-AKumar/repos","events_url":"https://api.github.com/users/PC-AKumar/events{/privacy}","received_events_url":"https://api.github.com/users/PC-AKumar/received_events","type":"User","site_admin":false},"created_at":"2018-12-08T01:56:24Z","updated_at":"2018-12-08T01:56:24Z","author_association":"NONE","body":"@midhunchn Does this work, were you able to get this running or did you resolve to a workaround for this?"}}
{"actor":{"display_login":"PC-AKumar"}}