public interface AnalyticsServiceProperties
streaming-analytics
.
SERVICE_DEFINITION
takes precedence over VCAP_SERVICES
and
SERVICE_NAME
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_DEFINITION
Definition of a Streaming Analytics service.
|
static java.lang.String |
SERVICE_NAME
Name of the service to use as a
String . |
static java.lang.String |
VCAP_SERVICES
IBM Cloud service definitions.
|
static final java.lang.String SERVICE_NAME
String
.
The information for the service will be extracted
from the VCAP service definitions using this name. This property must be
set when submitting to StreamsContext.Type.STREAMING_ANALYTICS_SERVICE
.static final java.lang.String VCAP_SERVICES
java.io.File
- File containing the VCAP services JSON.String
- String containing the VCAP services serialized JSON.com.ibm.json.java.JSONObject
- JSON object containing the VCAP services.VCAP_SERVICES
is assumed
to contain service definitions directly or a file name containing the definitions.static final java.lang.String SERVICE_DEFINITION
{ "type": "streaming-analytics", "name": "
service-name", "credentials": {...} }
with the service credentials as the value of the credentials
key