Package io.debezium.pipeline.signal
Class SignalRecord
java.lang.Object
io.debezium.pipeline.signal.SignalRecord
The class represent the signal sent on a channel:
id STRING
- the unique identifier of the signal sent, usually UUID, can be used for deduplicationtype STRING
- the unique logical name of the code executing the signaldata STRING
- the data in JSON format that are passed to the signal code
- Author:
- Mario Fiore Vitale
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<SignalRecord>
buildSignalRecordFromChangeEventSource
(org.apache.kafka.connect.data.Struct value, CommonConnectorConfig config) boolean
<T> T
getAdditionalDataProperty
(String property, Class<T> type) getData()
getId()
getType()
int
hashCode()
toString()
-
Field Details
-
id
-
type
-
data
-
additionalData
-
-
Constructor Details
-
SignalRecord
-
-
Method Details
-
buildSignalRecordFromChangeEventSource
public static Optional<SignalRecord> buildSignalRecordFromChangeEventSource(org.apache.kafka.connect.data.Struct value, CommonConnectorConfig config) -
getId
-
getType
-
getData
-
getAdditionalDataProperty
-
getAdditionalData
-
toString
-
equals
-
hashCode
public int hashCode()
-