sbproxy

StreamBase Proxy — starts the StreamBase Proxy server

SYNOPSIS

sbproxy [proxy-port sbserver-hostname sbserver-port]

DESCRIPTION

Runs the StreamBase proxy server separately from the StreamBase server to provide a passthrough service. Tuples sent to the proxy server are passed unchanged to the StreamBase server.

In previous StreamBase releases, the proxy server could be used as an intermediary for client connections using TLS/SSL authentication or LDAP authorization. However, this aspect of the proxy server is no longer required or supported in StreamBase 10.

OPTIONS

-Jjvm-option

Specifies a system property setting or other JVM argument to be passed to the JVM that runs this sbproxy command. Use this option to specify temporary settings that affect only the current invocation of sbproxy. You must specify multiple -J options to specify multiple JVM arguments.

There must be no space after the -J. For example, specify -J-Xmx2G. Use the full option syntax for jvm-option that you would use at the Java command line, including the initial hyphen. For example, specify -J-Dstreambase.log-level=2 to increase the log level for this invocation of sbproxy.

Your jvm-option argument might require surrounding quotes, depending on the characters it contains and the shell you are using. However, do not use quotes to escape the spaces between separate JVM arguments; instead use separate -J options. For example: -J-Xms512M -J-Xmx2G

ARGUMENTS

proxy-port

The port number to be used by the sbproxy server instance you are running.

sbserver-hostname

The remote host on which the StreamBase server runs.

sbserver-port

The port number used by the StreamBase server.

Example

The following command starts sbproxy and forces the associated StreamBase server to communicate with clients only through sbproxy on the local machine:

sbproxy 9999 localhost 10000