public class PulsarStormConfiguration extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_METRICS_TIME_INTERVAL_IN_SECS |
| Constructor and Description |
|---|
PulsarStormConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMetricsTimeIntervalInSecs() |
String |
getServiceUrl() |
String |
getTopic() |
void |
setMetricsTimeIntervalInSecs(int metricsTimeIntervalInSecs)
Sets the time interval in seconds for metrics generation (default: 60 seconds)
|
void |
setServiceUrl(String serviceUrl)
Sets the service URL to connect to from the client
|
void |
setTopic(String topic)
Sets the topic name for the producer/consumer.
|
public static final int DEFAULT_METRICS_TIME_INTERVAL_IN_SECS
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
serviceUrl - public String getTopic()
public void setTopic(String topic)
topic - public int getMetricsTimeIntervalInSecs()
public void setMetricsTimeIntervalInSecs(int metricsTimeIntervalInSecs)
metricsTimeIntervalInSecs - Copyright © 2017 Apache Software Foundation. All rights reserved.