There can only be one client connector on one node. And both JDBC and ODBC
can use the same port.
So, there is no need to configure anything, you can just connect to the
port 10800 from JDBC or ODBC, Ignite will figure out, which one it is.
ConnectorConfiguration is useful if you want to change the default port,
for example.


пт, 6 апр. 2018 г. в 18:53, Ryan Samo <one70...@gmail.com>:

> Hey guys and gals,
> Is it possible to use ODBC and JDBC connections on the same Ignite cluster
> in version 2.4? I see that the
> org.apache.ignite.configuration.OdbcConfiguration class was deprecated as
> of
> 2.1 in favor of
>  ClientConnectorConfiguration and
> IgniteConfiguration.setClientConnectorConfiguration(ClientConnectorConfiguration).
> I usually have JDBC connections come in on the default 10800 and would like
> to add another port for ODBC alongside this one, say 10801. The
> ClientConnectorConfiguration class allows for a port range so I tried to
> use
> the following configuration but I am not having any luck.
> <property name="clientConnectorConfiguration">
>     <bean
> class="org.apache.ignite.configuration.ClientConnectorConfiguration">
>         <property name="host" value=""/>
>         <property name="port" value="10800"/>
>         <property name="portRange" value="2"/>
>     </bean>
> </property>
> Any tips would be appreciated.
> Thanks!
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to