Announcing the TensorFlow Dev Summit 2020 Learn more

tfio.kafka.encode_avro

TODO: add doc.

tfio.kafka.encode_avro(
    input,
    schema,
    name=None
)

Args:

  • input: A list of Tensor objects with types from: float32, float64, int32, int64, string.
  • schema: A string.
  • name: A name for the operation (optional).

Returns:

A Tensor of type string.