Interface PipeConnector

All Superinterfaces:
AutoCloseable, PipePlugin
All Known Subinterfaces:
PipeSink

@Deprecated public interface PipeConnector extends PipePlugin
Deprecated.
PipeConnector (Deprecated since v1.3.0, renamed to PipeSink)

PipeConnector is responsible for sending Events to sinks.

Various network protocols can be supported by implementing different PipeConnector classes.

The lifecycle of a PipeConnector is as follows:

In addition, the method heartbeat() will be called periodically to check whether the connection with sink is still alive. The method handshake() will be called to create a new connection with the sink when the method heartbeat() throws exceptions.