Interface PipeSink

All Superinterfaces:
AutoCloseable, PipeConnector, PipePlugin

public interface PipeSink extends PipeConnector
PipeSink

PipeSink is responsible for sending Events to sinks.

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

The lifecycle of a PipeSink 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.