Hi i have connected redis endpoints with spring redis template with jedis connection factory but if i seen in aws console connections graph it has been increasing widely not closing those connection is there any way to close connection manually or it will do automatically>?
but as of know i have checked with below code, it is not working
redisTemplate.discard(); or redisTemplate.getConnectionFactory().getConnection().close();
even if did above one connections are remaining same and jedis pool also not working i have mention active connections 10 but it allowing even above 10 connections