Interface KeyedSerializationSchema<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      String getTargetTopic​(T element)
      Deprecated.
      Optional method to determine the target topic for the element.
      byte[] serializeKey​(T element)
      Deprecated.
      Serializes the key of the incoming element to a byte array This method might return null if no key is available.
      byte[] serializeValue​(T element)
      Deprecated.
      Serializes the value of the incoming element to a byte array.
    • Method Detail

      • serializeKey

        byte[] serializeKey​(T element)
        Deprecated.
        Serializes the key of the incoming element to a byte array This method might return null if no key is available.
        Parameters:
        element - The incoming element to be serialized
        Returns:
        the key of the element as a byte array
      • serializeValue

        byte[] serializeValue​(T element)
        Deprecated.
        Serializes the value of the incoming element to a byte array.
        Parameters:
        element - The incoming element to be serialized
        Returns:
        the value of the element as a byte array
      • getTargetTopic

        String getTargetTopic​(T element)
        Deprecated.
        Optional method to determine the target topic for the element.
        Parameters:
        element - Incoming element to determine the target topic from
        Returns:
        null or the target topic