Missed TensorFlow World? Check out the recap. Learn more

tfio.kafka.write_kafka

View source on GitHub

Args:

tfio.kafka.write_kafka(
    message,
    topic,
    servers='localhost',
    name=None
)
message: A `Tensor` of type `string`. 0-D.
topic: A <a href="/api_docs/python/tf#string"><code>tf.string</code></a> tensor containing one subscription,
  in the format of topic:partition.
servers: A list of bootstrap servers.
name: A name for the operation (optional).

Returns: A Tensor of type string. 0-D.