Re: MySQL Fabric / ConnectorJ feature request
Posted by: Filipe Silva
Date: August 25, 2016 11:26AM

Well, at first sight looks like an acceptable feature request. If you wish you can file a bug in, with severity "S4 (feature request)" and provide all the information you can. Please also include a link to this thread.

In the meantime you could try using the ReplicationConnectionGroupManager static instance to get the info you need as Fabric connections internally use dynamically managed replication connections. So, you can call the static method ReplicationConnectionGroupManager#getGroupsMatching(String group) with an empty string to get a list with all ReplicationConnectionGroup, from which you can call the method getGroupName(). But, beware that the ReplicationConnectionGroupManager contains the information there is for all replication connections, both Fabric internal and plain replication connections labelled under a connection group (connection property "replicationConnectionGroup"), and this information exists for the full lifetime of the Java VM instance that runs your code.

Options: ReplyQuote

Written By
Re: MySQL Fabric / ConnectorJ feature request
August 25, 2016 11:26AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.