tfio.kafka.decode_avro

TODO: add doc.

tfio.kafka.decode_avro(
    input,
    schema,
    dtype,
    name=None
)

Args:

  • input: A Tensor of type string.
  • schema: A Tensor. Must be one of the following types: string, resource.
  • dtype: A list of tf.DTypes from: tf.float32, tf.float64, tf.int32, tf.int64, tf.string that has length >= 1.
  • name: A name for the operation (optional).

Returns:

A list of Tensor objects of type dtype.