tfio.kafka.write_kafka

View source on GitHub

Write messages to the kafka topic

message The tf.string tensor containing the message to be written into the topic.
topic A tf.string tensor containing one subscription, in the format of topic:partition.
servers A list of bootstrap servers.
name A name for the operation (optional).

A Tensor of type string. 0-D.