class_docstr: A Kafka Dataset that consumes the messages.
class_docstr_tok: ["A","Kafka","Dataset","that","consumes","the","messages","."]
code: def output_shapes(self):
      if self._message_key ^ self._message_offset:
          return (tf.TensorShape([]), tf.TensorShape([]))
      elif self._message_key and self._message_offset:
          return (
              tf.TensorShape([]),
              tf.TensorShape([]),
              tf.TensorShape([]),
          )
      else:
          return tf.TensorShape([])
  
file_path: io/tensorflow_io/python/ops/kafka_deprecated_dataset_ops.py
imports: import warnings
  import tensorflow
  from tensorflow import dtypes
  from tensorflow.compat.v1 import data
  from tensorflow_io.python.ops import core_ops
  from tensorflow_io.python.utils import deprecation
label_desc: Use image node_id 5 for calling the KafkaDataset obj's underlying member method code with example usage: obj.output_shapes() and returns: tf,  tf, tf,  tf,  tf, tf