public interface DmaapTopicSinkFactory
Modifier and Type | Method and Description |
---|---|
DmaapTopicSink |
build(List<String> servers,
String topic)
Instantiates a new DMAAP Topic Sink
|
DmaapTopicSink |
build(List<String> servers,
String topic,
String apiKey,
String apiSecret,
String userName,
String password,
String partitionKey,
boolean managed)
Instantiates a new DMAAP Topic Sink
|
List<DmaapTopicSink> |
build(Properties properties)
Creates an DMAAP Topic Sink based on properties files
|
void |
destroy()
Destroys all DMAAP Topic Sinks
|
void |
destroy(String topic)
Destroys an DMAAP Topic Sink based on a topic
|
DmaapTopicSink |
get(String topic)
gets an DMAAP Topic Sink based on topic name
|
List<DmaapTopicSink> |
inventory()
Provides a snapshot of the DMAAP Topic Sinks
|
DmaapTopicSink build(List<String> servers, String topic, String apiKey, String apiSecret, String userName, String password, String partitionKey, boolean managed) throws IllegalArgumentException
servers
- list of serverstopic
- topic nameapiKey
- API KeyapiSecret
- API SecretuserName
- AAF user namepassword
- AAF passwordpartitionKey
- Consumer Groupmanaged
- is this sink endpoint managed?IllegalArgumentException
- if invalid parameters are presentList<DmaapTopicSink> build(Properties properties) throws IllegalArgumentException
properties
- Properties containing initialization valuesIllegalArgumentException
- if invalid parameters are presentDmaapTopicSink 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 presentDmaapTopicSink get(String topic) throws IllegalArgumentException, IllegalStateException
topic
- the topic nameIllegalArgumentException
- if an invalid topic is providedIllegalStateException
- if the DMAAP Topic Reader is
an incorrect stateList<DmaapTopicSink> inventory()
void destroy()
Copyright © 2018. All rights reserved.