Hibernate Books

All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Redis Sentinel client support
PostPosted: Tue Nov 01, 2016 12:15 pm 
Newbie

Joined: Tue Apr 12, 2016 4:09 pm
Posts: 9
It appears that the Lettuce library used by OGM supports Redis master discovery via an integrated Sentinel client. What's the feasibility of leveraging this functionality in the OGM Redis client? This is crucial for high availability.

Reference: https://github.com/mp911de/lettuce/wiki ... s-sentinel

It seems like overloading RedisDatastoreProvider.configureRedisUri to accept a different input parameter which represents the Sentinel information, to be specified in persistence.xml is the right place to start. I think I will work on this, but any suggestions are welcome.

Thanks!


Top
 Profile  
 
 Post subject: Re: Redis Sentinel client support
PostPosted: Wed Nov 09, 2016 5:26 pm 
Hibernate Team
Hibernate Team

Joined: Fri Sep 09, 2011 3:18 am
Posts: 274
Hi,
sorry for the late reply, somehow I missed your question.

Sounds interesting, we appreciate when people want to contribute.
Maybe you can start by sending a PR with a proposal.

If it's only about a change in configuration value you can change RedisConfiguration to keep track of different protocols.

Thanks,
Davide


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.