Class DocumentDeleteEmitter
java.lang.Object
ai.pipeline.connector.intake.pipedoc.streaming.DocumentDeleteEmitter
Publishes the intake layer's broadcast
DocumentDeleted signal to
Kafka. A logical-document delete (a connector detected the source row/file is
gone) is emitted ONCE; interested parties (repo-service, search index, …) each
consume it and handle their own delete.
Keyed by a deterministic UUID derived from doc_id so redeliveries
land on the same partition and the apicurio protobuf serializer's UUID-key
contract is satisfied.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DocumentDeleteEmitter
public DocumentDeleteEmitter()
-
-
Method Details
-
publish
Publish one delete broadcast. The returnedUnicompletes when the broker acks the record, so callers can confirm the message is out before acknowledging the delete to the connector.
-