public interface ContinualMessagePublisher extends Closeable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ContinualMessagePublisher.TopicUnavailableException
Topic unavailable exception is thrown when the topic cannot be used at this time.
|
| Modifier and Type | Method and Description |
|---|---|
void |
flush()
For implementations with batching, flush the pending messages.
|
ContinualMessageSink |
getTopic(String topic)
Get a message sink for a specific topic.
|
ContinualMessageSink getTopic(String topic) throws ContinualMessagePublisher.TopicUnavailableException
topic - ContinualMessagePublisher.TopicUnavailableException - if the topic name is not supported or somehow not availablevoid flush()
throws MessagePublishException
MessagePublishExceptionCopyright © 2023 continual.io. All rights reserved.