Re: Aletrnative to ParseURL in Connector/J version
Posted by: Filipe Silva
Date: November 28, 2023 06:52AM

If you are asking from the standpoint of a maintainer/contributor of Apache Druid, then, like I said before, this can be done by using com.mysql.cj.conf.ConnectionUrl.

Start with a call to getConnectionUrlInstance(String connString, Properties info) and then you have several options to get the connection properties depending on whether you care about host-specific properties or just the ones common to all hosts. See Connection URL Syntax for details about different ways of specifying connection properties.


If you are asking from the standpoint of an Apache Druid user, then I'm afraid it is not compatible with Connector/J 8.0 and above, and you should ask the maintainers to upgrade.

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.