Class RecordKey


  • public final class RecordKey
    extends java.lang.Object
    This class represents the Kafka record key for ingested data.
    • Method Detail

      • serialize

        public byte[] serialize()
      • serialize

        public static byte[] serialize​(long systemId,
                                       long partitionId,
                                       long schemaId,
                                       long entityId,
                                       long timestamp)
      • deserialize

        public static RecordKey deserialize​(byte[] array)
      • isValid

        public static boolean isValid​(byte[] array)
      • getSystemId

        public long getSystemId()
      • getPartitionId

        public long getPartitionId()
      • getSchemaId

        public long getSchemaId()
      • getEntityId

        public long getEntityId()
      • getTimestamp

        public long getTimestamp()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object