public class SingleThreadedUebTopicSource extends SingleThreadedBusTopicSource implements UebTopicSource
Topic.CommInfrastructure
alive, busPollerThread, consumer, consumerGroup, consumerInstance, fetchLimit, fetchTimeout, locked, networkLogger, topicListeners
apiKey, apiSecret, recentEvents, servers, topic
factory
DEFAULT_CONSUMER_INSTANCE, DEFAULT_LIMIT_FETCH, DEFAULT_TIMEOUT_MS_FETCH, NO_LIMIT_FETCH, NO_TIMEOUT_MS_FETCH
NETWORK_LOGGER
Constructor and Description |
---|
SingleThreadedUebTopicSource(List<String> servers,
String topic,
String apiKey,
String apiSecret,
String consumerGroup,
String consumerInstance,
int fetchTimeout,
int fetchLimit) |
Modifier and Type | Method and Description |
---|---|
Topic.CommInfrastructure |
getTopicCommInfrastructure()
gets the communication infrastructure type
|
void |
init()
Initialize the Cambria client
|
String |
toString() |
broadcast, getConsumerGroup, getConsumerInstance, getFetchLimit, getFetchTimeout, isAlive, isLocked, lock, offer, register, run, shutdown, snapshotTopicListeners, start, stop, unlock, unregister
getApiKey, getApiSecret, getRecentEvents, getServers, getTopic
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConsumerGroup, getConsumerInstance, getFetchLimit, getFetchTimeout
getApiKey, getApiSecret
offer
register, unregister
getRecentEvents, getServers, getTopic
public SingleThreadedUebTopicSource(List<String> servers, String topic, String apiKey, String apiSecret, String consumerGroup, String consumerInstance, int fetchTimeout, int fetchLimit) throws IllegalArgumentException
servers
- UEB serverstopic
- UEB Topic to be monitoredapiKey
- UEB API Key (optional)apiSecret
- UEB API Secret (optional)consumerGroup
- UEB Reader Consumer GroupconsumerInstance
- UEB Reader InstancefetchTimeout
- UEB fetch timeoutfetchLimit
- UEB fetch limitIllegalArgumentException
- An invalid parameter passed inpublic void init()
init
in class SingleThreadedBusTopicSource
public Topic.CommInfrastructure getTopicCommInfrastructure()
getTopicCommInfrastructure
in interface Topic
public String toString()
toString
in class SingleThreadedBusTopicSource
Copyright © 2018. All rights reserved.