public class SamzaRestConfig
extends org.apache.samza.config.MapConfig
SamzaRestService
.
Other configurations (e.g. from JobConfig
) may also be used by some of the
implementation classes.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_REST_RESOURCE_CLASSES
Specifies a comma-delimited list of class names of resources to register with the server.
|
static java.lang.String |
CONFIG_REST_RESOURCE_FACTORIES
Specifies a comma-delimited list of class names that implement ResourceFactory.
|
static java.lang.String |
CONFIG_SAMZA_REST_SERVICE_PORT
The port number to use for the HTTP server or 0 to dynamically choose a port.
|
Constructor and Description |
---|
SamzaRestConfig(org.apache.samza.config.Config config) |
Modifier and Type | Method and Description |
---|---|
int |
getPort() |
java.util.List<java.lang.String> |
getResourceClassNames() |
java.util.List<java.lang.String> |
getResourceFactoryClassNames() |
containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, sanitize, size, toString, values
clear, get, getBoolean, getBoolean, getClass, getDate, getDate, getDate, getDate, getDate, getDate, getDouble, getDouble, getInt, getInt, getList, getList, getLong, getLong, getNewInstance, getShort, getShort, put, putAll, regexSubset, remove, replaceAll, subset, subset
public static final java.lang.String CONFIG_REST_RESOURCE_FACTORIES
public static final java.lang.String CONFIG_REST_RESOURCE_CLASSES
public static final java.lang.String CONFIG_SAMZA_REST_SERVICE_PORT
public int getPort()
CONFIG_SAMZA_REST_SERVICE_PORT
public java.util.List<java.lang.String> getResourceFactoryClassNames()
CONFIG_REST_RESOURCE_FACTORIES
public java.util.List<java.lang.String> getResourceClassNames()
CONFIG_REST_RESOURCE_CLASSES