class_docstr: A Kafka Dataset that consumes the messages.
class_docstr_tok: ["A","Kafka","Dataset","that","consumes","the","messages","."]
code: def _as_variant_tensor(self):
      return core_ops.io_kafka_dataset(
          self._topics,
          self._servers,
          self._group,
          self._eof,
          self._timeout,
          self._config_global,
          self._config_topic,
          self._message_key,
          self._message_offset,
      )
  
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 3 for calling the KafkaDataset obj's underlying member method code with example usage: obj._as_variant_tensor() and returns: core_ops