public interface UebTopicSinkFactory
Modifier and Type | Method and Description |
---|---|
UebTopicSink |
build(List<String> servers,
String topic)
Instantiates a new UEB Topic Writer
|
UebTopicSink |
build(List<String> servers,
String topic,
String apiKey,
String apiSecret,
String partitionKey,
boolean managed)
Instantiates a new UEB Topic Writer
|
List<UebTopicSink> |
build(Properties properties)
Creates an UEB Topic Writer based on properties files
|
void |
destroy()
Destroys all UEB Topic Writers
|
void |
destroy(String topic)
Destroys an UEB Topic Writer based on a topic
|
UebTopicSink |
get(String topic)
gets an UEB Topic Writer based on topic name
|
List<UebTopicSink> |
inventory()
Provides a snapshot of the UEB Topic Writers
|
UebTopicSink build(List<String> servers, String topic, String apiKey, String apiSecret, String partitionKey, boolean managed) throws IllegalArgumentException
servers
- list of serverstopic
- topic nameapiKey
- API KeyapiSecret
- API SecretpartitionKey
- Consumer Groupmanaged
- is this sink endpoint managed?IllegalArgumentException
- if invalid parameters are presentList<UebTopicSink> build(Properties properties) throws IllegalArgumentException
properties
- Properties containing initialization valuesIllegalArgumentException
- if invalid parameters are presentUebTopicSink build(List<String> servers, String topic) throws IllegalArgumentException
servers
- list of serverstopic
- topic nameIllegalArgumentException
- if invalid parameters are presentvoid destroy(String topic)
topic
- topic nameIllegalArgumentException
- if invalid parameters are presentUebTopicSink get(String topic) throws IllegalArgumentException, IllegalStateException
topic
- the topic nameIllegalArgumentException
- if an invalid topic is providedIllegalStateException
- if the UEB Topic Reader is
an incorrect stateList<UebTopicSink> inventory()
void destroy()
Copyright © 2018. All rights reserved.