Class StreamPublisherBase

All Implemented Interfaces:
LogOutputAppendable, LivenessManager, LivenessNode, LivenessReferent, StreamPublisher
Direct Known Subclasses:
KafkaStreamPublisher

public abstract class StreamPublisherBase extends ReferenceCountedLivenessNode implements StreamPublisher
Re-usable abstract implementation of StreamPublisher for stream ingestion to column-chunks.

Users must register a consumer before allowing other threads or objects to interact with a StreamPublisherBase.

Implementations should override shutdown to ensure that their upstream source is properly shutdown, and synchronize on this if they have a need to prevent concurrent calls to flush.