public class PulsarBoltConfiguration extends PulsarStormConfiguration
DEFAULT_METRICS_TIME_INTERVAL_IN_SECS| Constructor and Description |
|---|
PulsarBoltConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TupleToMessageMapper |
getTupleToMessageMapper() |
void |
setTupleToMessageMapper(TupleToMessageMapper mapper)
Sets the mapper to convert storm tuples to a pulsar message
|
getMetricsTimeIntervalInSecs, getServiceUrl, getTopic, setMetricsTimeIntervalInSecs, setServiceUrl, setTopicpublic TupleToMessageMapper getTupleToMessageMapper()
public void setTupleToMessageMapper(TupleToMessageMapper mapper)
Note: If the mapper returns null, the message is not sent by the producer and is acked immediately on the collector
mapper - Copyright © 2017 Apache Software Foundation. All rights reserved.