public class InlineUebTopicSink extends InlineBusTopicSink implements UebTopicSink
Topic.CommInfrastructure
alive, locked, networkLogger, partitionId, publisher
apiKey, apiSecret, recentEvents, servers, topic
factory
DEFAULT_LOG_SEND_FAILURES_AFTER
NETWORK_LOGGER
Constructor and Description |
---|
InlineUebTopicSink(List<String> servers,
String topic,
String apiKey,
String apiSecret,
String partitionId)
Argument-based UEB Topic Writer instantiation
|
Modifier and Type | Method and Description |
---|---|
Topic.CommInfrastructure |
getTopicCommInfrastructure()
gets the communication infrastructure type
|
void |
init()
Instantiation of internal resources
|
String |
toString() |
getPartitionKey, isAlive, isLocked, lock, send, setPartitionKey, shutdown, start, stop, unlock
getApiKey, getApiSecret, getRecentEvents, getServers, getTopic
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionKey, setPartitionKey
getApiKey, getApiSecret
getRecentEvents, getServers, getTopic
public InlineUebTopicSink(List<String> servers, String topic, String apiKey, String apiSecret, String partitionId) throws IllegalArgumentException
servers
- list of UEB servers available for publishingtopic
- the topic to publish toapiKey
- the api key (optional)apiSecret
- the api secret (optional)partitionId
- the partition key (optional, autogenerated if not provided)IllegalArgumentException
- if invalid arguments are detectedpublic void init()
init
in class InlineBusTopicSink
public String toString()
toString
in class BusTopicBase
public Topic.CommInfrastructure getTopicCommInfrastructure()
getTopicCommInfrastructure
in interface Topic
getTopicCommInfrastructure
in class InlineBusTopicSink
Copyright © 2018. All rights reserved.