Class Signal.Payload

  • Enclosing class:
    Signal

    public static class Signal.Payload
    extends Object
    • Field Detail

      • type

        public final String type
      • partition

        public final Partition partition
      • source

        public final org.apache.kafka.connect.data.Struct source
    • Constructor Detail

      • Payload

        public Payload​(Partition partition,
                       String id,
                       String type,
                       Document data,
                       OffsetContext offsetContext,
                       org.apache.kafka.connect.data.Struct source)
        Parameters:
        partition - partition from which the signal was sent
        id - identifier of the signal intended for deduplication, usually ignored by the signal
        type - of the signal, usually ignored by the signal, should be used only when a signal code is shared for mutlple signals
        data - data specific for given signal instance
        offsetContext - offset at what the signal was sent
        source - source info about position at what the signal was sent