Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support configuring (client) SocketFactory, primarily for SNI support [DATAGEODE-327] #375

spring-projects-issues opened this issue Apr 6, 2020 · 2 comments


Copy link

@spring-projects-issues spring-projects-issues commented Apr 6, 2020

Bill opened DATAGEODE-327 and commented


The Geode Java client recently added support for configuring an SNI (TLS) proxy. The way proxy support is configured is pretty open-ended. Rather than merely adding data configuration for host+port, the community opted for a more general-purpose capability.

The RFC[1] describes two new Geode APIs:

  • ClientCacheFactory.setPoolSocketFactory(SocketFactory socketFactory)
  • PoolFactory.setSocketFactory(SocketFactory socketFactory)

These both take a reference to the new SocketFactory interface. An implementation of that interface, that implements SNI support in the Java client, is now part of Geode. Here's that static factory method:

  • SocketFactory ProxySocketFactories.sni(String hostname, int port)

Support for this new feature is on the develop branch of the geode repository. Release of the feature is expected in the 1.13 Geode release. ClientSNIAcceptanceTest demonstrates some of this new API[2]

New Spring Data Geode Feature

Spring Data Geode will provide a documented mechanism for configuring an SNI proxy using these APIs. It will also provide a mechanism for configuring other (e.g. user-defined) SocketFactory implementations.

[1] RFC Client side configuration for a SNI proxy


Reference URL:

Copy link

@spring-projects-issues spring-projects-issues commented Apr 7, 2020

John Blum commented

The RFC concerning client-side configuration of a SNI proxy URL ( returns a 404.

What version of Apache Geode is the new SNI Proxy feature being added? (e.g. 1.13 or 1.14)

Thank you for the heads up

Copy link

@spring-projects-issues spring-projects-issues commented Apr 7, 2020

Bill commented

Sorry about that John Blum. Jira butchered that link. I fixed it in the main description. Here it is again:

The feature is currently implemented on the develop branch of the geode repo and is expected to ship in the Geode 1.13 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.