Class KafkaInternalFieldManager


  • public class KafkaInternalFieldManager
    extends Object
    • Field Detail

      • PARTITION_ID_FIELD

        public static final String PARTITION_ID_FIELD
        _partition_id - Kafka partition id.
        See Also:
        Constant Field Values
      • PARTITION_OFFSET_FIELD

        public static final String PARTITION_OFFSET_FIELD
        _partition_offset - The current offset of the message in the partition.
        See Also:
        Constant Field Values
      • MESSAGE_CORRUPT_FIELD

        public static final String MESSAGE_CORRUPT_FIELD
        _message_corrupt - True if the row converter could not read the a message. May be null if the row converter does not set a value (e.g. the dummy row converter does not).
        See Also:
        Constant Field Values
      • MESSAGE_FIELD

        public static final String MESSAGE_FIELD
        _message - Represents the full topic as a text column. Format is UTF-8 which may be wrong for some topics. TODO: make charset configurable.
        See Also:
        Constant Field Values
      • MESSAGE_LENGTH_FIELD

        public static final String MESSAGE_LENGTH_FIELD
        _message_length - length in bytes of the message.
        See Also:
        Constant Field Values
      • HEADERS_FIELD

        public static final String HEADERS_FIELD
        _headers - The header fields of the Kafka message. Key is a UTF-8 String and values an array of byte[].
        See Also:
        Constant Field Values
      • KEY_CORRUPT_FIELD

        public static final String KEY_CORRUPT_FIELD
        _key_corrupt - True if the row converter could not read the a key. May be null if the row converter does not set a value (e.g. the dummy row converter does not).
        See Also:
        Constant Field Values
      • KEY_FIELD

        public static final String KEY_FIELD
        _key - Represents the key as a text column. Format is UTF-8 which may be wrong for topics. TODO: make charset configurable.
        See Also:
        Constant Field Values
      • KEY_LENGTH_FIELD

        public static final String KEY_LENGTH_FIELD
        _key_length - length in bytes of the key.
        See Also:
        Constant Field Values
      • OFFSET_TIMESTAMP_FIELD

        public static final String OFFSET_TIMESTAMP_FIELD
        _timestamp - message timestamp
        See Also:
        Constant Field Values
    • Constructor Detail

      • KafkaInternalFieldManager

        @Inject
        public KafkaInternalFieldManager​(TypeManager typeManager)