public class OnapMsgRouterPublisher extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OnapMsgRouterPublisher.Builder
A builder for the publisher.
|
static class |
OnapMsgRouterPublisher.Message
A message includes an event stream name and a payload
|
| Modifier and Type | Field and Description |
|---|---|
static String |
kPreferredDateFormat |
| Modifier and Type | Method and Description |
|---|---|
static OnapMsgRouterPublisher.Builder |
builder()
Get a new builder
|
static OnapMsgRouterPublisher.Builder |
localTest()
Get a local test publisher builder to optionally customize further.
|
OnapMrResponse |
send(List<OnapMsgRouterPublisher.Message> msgList)
Send a set of messages to the MR cluster in an all or nothing attempt.
|
OnapMrResponse |
send(OnapMsgRouterPublisher.Message msg)
Send a single message to the MR cluster.
|
String |
toString() |
public static final String kPreferredDateFormat
public static OnapMsgRouterPublisher.Builder localTest()
public static OnapMsgRouterPublisher.Builder builder()
public OnapMrResponse send(OnapMsgRouterPublisher.Message msg)
msg - the message to postpublic OnapMrResponse send(List<OnapMsgRouterPublisher.Message> msgList)
msgList - a list of messagesCopyright © 2024 continual.io. All rights reserved.