class_docstr: KafkaIOLayer
docstr: Obtain a Kafka IO layer to be used with tf.keras.
docstr_tok: ["Obtain","a","Kafka","IO","layer","to","be","used","with","tf.keras","."]
code: def __init__(self, topic, partition, servers, configurations):
      """Obtain a Kafka IO layer to be used with tf.keras."""
      metadata = list(configurations or [])
      if servers is not None:
          metadata.append("bootstrap.servers=%s" % servers)
      self._resource = core_ops.io_layer_kafka_init(
          topic, partition, metadata
      )
      super().__init__(trainable=False)
  
imports: import tensorflow
  from tensorflow_io.python.ops import core_ops
label_desc: Use image node_id 1 to create a new KafkaIOLayer object from inherited base classes: tf.keras.layers with example: obj = KafkaIOLayer(topic, partition, servers, configurations)