public class LogstashUdpMessagePersister extends Object implements MessagePersister
Constructor and Description |
---|
LogstashUdpMessagePersister(String broadcastUri) |
Modifier and Type | Method and Description |
---|---|
int |
persistMessages(List<String> messages)
Given a list of messages, persist them out through whatever appropriate
broadcast mechanism (HTTP request, SLF4J log, etc.).
|
void |
setup()
setup.
|
public LogstashUdpMessagePersister(String broadcastUri)
public void setup()
public int persistMessages(List<String> messages)
MessagePersister
persistMessages
in interface MessagePersister
messages
- List of String messagesCopyright © 2018 The Apache Software Foundation. All rights reserved.